{smcl}
{txt}{sf}{ul off}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}/Users/fcoell/Dropbox/PATSTAT/DATA/../logs/results_final.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}22 Jun 2020, 12:05:18
{txt}
{com}. 
. set more off
{txt}
{com}. 
. global yy "L8lnP"
{txt}
{com}. global x "L8taut"
{txt}
{com}. global c "ncty lnP85 homew"
{txt}
{com}. global vce "vce(cluster id)"
{txt}
{com}. global iff "MissTar==0 & homew<1 & wto1995==1"
{txt}
{com}. 
. gen L8tautExPred = L8tautPred/(1-homewPred)
{txt}(275,746 missing values generated)

{com}. gen L8tautExAppPred = L8tautAppPred/(1-homewPred)
{txt}(275,746 missing values generated)

{com}. 
. 
. * -----------------------------------------------------------------------------
. * Table 3, Appendix Table 13 and Appendix Figure 10
. * -----------------------------------------------------------------------------
. * Main result - symmetric model
. xtivreg $yy (L8tautApp = L8taut) if y==2000 & $iff, fe i(id) $vce first         
{txt}warning: existing panel variable is not id

First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    41,058
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,315

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.6625{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.6853{col 63}{txt}avg{col 67}={col 69}{res}      31.2
{txt}     overall = {res}0.6499{col 63}{txt}max{col 67}={col 69}{res}     1,573

{txt}{col 49}F({res}1{txt},{res}1314{txt}){col 67}={col 70}{res}  2371.80
{txt}corr(u_i, Xb){col 16}= {res}-0.1420{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:1,315} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}   L8tautApp{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}L8taut {c |}{col 14}{res}{space 2} .9272525{col 26}{space 2} .0190397{col 37}{space 1}   48.70{col 46}{space 3}0.000{col 54}{space 4}  .889901{col 67}{space 3} .9646039
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .0054554{col 26}{space 2}  .000379{col 37}{space 1}   14.39{col 46}{space 3}0.000{col 54}{space 4} .0047119{col 67}{space 3} .0061989
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .01904553
     {txt}sigma_e {c |} {res} .01496722
         {txt}rho {c |} {res} .61820575{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
{res}
{txt}Fixed-effects (within) IV regression{col 49}Number of obs{col 67}={col 69}{res}    41,058
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,315

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0077{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0008{col 63}{txt}avg{col 67}={col 69}{res}      31.2
{txt}     overall = {res}0.0090{col 63}{txt}max{col 67}={col 69}{res}     1,573


{txt}{col 49}Wald chi2({res}1{txt}){col 67}={col 70}{res}    36.31
{txt}corr(u_i, Xb){col 16}= {res}-0.0833{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:1,315} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       L8lnP{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}L8tautApp {c |}{col 14}{res}{space 2}-2.805199{col 26}{space 2} .4655567{col 37}{space 1}   -6.03{col 46}{space 3}0.000{col 54}{space 4}-3.717673{col 67}{space 3}-1.892725
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .3770933{col 26}{space 2} .0060534{col 37}{space 1}   62.29{col 46}{space 3}0.000{col 54}{space 4} .3652287{col 67}{space 3} .3889578
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .31592876
     {txt}sigma_e {c |} {res} .50376425
         {txt}rho {c |} {res} .28227934{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
{p 0 16 86}Instrumented:{space 3}L8tautApp{p_end}
{p 0 16 86}Instruments:{space 4}L8taut{p_end}
{hline 78}

{com}. xtivreg $yy $c (L8tautApp = L8taut) if y==2000 & $iff, fe i(id) $vce first      

{txt}First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    41,058
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,315

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.6632{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.6846{col 63}{txt}avg{col 67}={col 69}{res}      31.2
{txt}     overall = {res}0.6505{col 63}{txt}max{col 67}={col 69}{res}     1,573

{txt}{col 49}F({res}4{txt},{res}1314{txt}){col 67}={col 70}{res}  1204.40
{txt}corr(u_i, Xb){col 16}= {res}-0.1485{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:1,315} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}   L8tautApp{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}ncty {c |}{col 14}{res}{space 2}-.0002157{col 26}{space 2} .0000402{col 37}{space 1}   -5.37{col 46}{space 3}0.000{col 54}{space 4}-.0002945{col 67}{space 3}-.0001369
{txt}{space 7}lnP85 {c |}{col 14}{res}{space 2} .0000358{col 26}{space 2} .0001468{col 37}{space 1}    0.24{col 46}{space 3}0.808{col 54}{space 4}-.0002522{col 67}{space 3} .0003237
{txt}{space 7}homew {c |}{col 14}{res}{space 2}-.0010602{col 26}{space 2} .0010708{col 37}{space 1}   -0.99{col 46}{space 3}0.322{col 54}{space 4}-.0031609{col 67}{space 3} .0010404
{txt}{space 6}L8taut {c |}{col 14}{res}{space 2} .9321293{col 26}{space 2}  .021798{col 37}{space 1}   42.76{col 46}{space 3}0.000{col 54}{space 4} .8893666{col 67}{space 3} .9748919
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}  .006434{col 26}{space 2} .0005803{col 37}{space 1}   11.09{col 46}{space 3}0.000{col 54}{space 4} .0052956{col 67}{space 3} .0075724
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .01911112
     {txt}sigma_e {c |} {res} .01495257
         {txt}rho {c |} {res} .62028896{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
{res}
{txt}Fixed-effects (within) IV regression{col 49}Number of obs{col 67}={col 69}{res}    41,058
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,315

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0153{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0024{col 63}{txt}avg{col 67}={col 69}{res}      31.2
{txt}     overall = {res}0.0146{col 63}{txt}max{col 67}={col 69}{res}     1,573


{txt}{col 49}Wald chi2({res}4{txt}){col 67}={col 70}{res} 15315.61
{txt}corr(u_i, Xb){col 16}= {res}-0.1278{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:1,315} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       L8lnP{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}L8tautApp {c |}{col 14}{res}{space 2}-3.223088{col 26}{space 2} .4319192{col 37}{space 1}   -7.46{col 46}{space 3}0.000{col 54}{space 4}-4.069634{col 67}{space 3}-2.376541
{txt}{space 8}ncty {c |}{col 14}{res}{space 2}-.0025412{col 26}{space 2} .0015432{col 37}{space 1}   -1.65{col 46}{space 3}0.100{col 54}{space 4}-.0055659{col 67}{space 3} .0004835
{txt}{space 7}lnP85 {c |}{col 14}{res}{space 2}-.0400165{col 26}{space 2} .0066603{col 37}{space 1}   -6.01{col 46}{space 3}0.000{col 54}{space 4}-.0530705{col 67}{space 3}-.0269624
{txt}{space 7}homew {c |}{col 14}{res}{space 2}  .172285{col 26}{space 2} .0252758{col 37}{space 1}    6.82{col 46}{space 3}0.000{col 54}{space 4} .1227452{col 67}{space 3} .2218247
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .3844329{col 26}{space 2} .0126963{col 37}{space 1}   30.28{col 46}{space 3}0.000{col 54}{space 4} .3595487{col 67}{space 3} .4093171
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .31874611
     {txt}sigma_e {c |} {res} .50185312
         {txt}rho {c |} {res} .28744508{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
{p 0 16 86}Instrumented:{space 3}L8tautApp{p_end}
{p 0 16 86}Instruments:{space 4}ncty lnP85 homew L8taut{p_end}
{hline 78}

{com}. xtivreg $yy $c L8lnPall (L8tautApp = L8taut) if y==2000 & $iff, fe i(id) $vce first

{txt}First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    40,805
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,315

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.6641{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.6860{col 63}{txt}avg{col 67}={col 69}{res}      31.0
{txt}     overall = {res}0.6515{col 63}{txt}max{col 67}={col 69}{res}     1,568

{txt}{col 49}F({res}5{txt},{res}1314{txt}){col 67}={col 70}{res}  1028.52
{txt}corr(u_i, Xb){col 16}= {res}-0.1493{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:1,315} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}   L8tautApp{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}ncty {c |}{col 14}{res}{space 2}-.0002129{col 26}{space 2} .0000415{col 37}{space 1}   -5.13{col 46}{space 3}0.000{col 54}{space 4}-.0002944{col 67}{space 3}-.0001314
{txt}{space 7}lnP85 {c |}{col 14}{res}{space 2} .0000421{col 26}{space 2} .0001457{col 37}{space 1}    0.29{col 46}{space 3}0.772{col 54}{space 4}-.0002437{col 67}{space 3}  .000328
{txt}{space 7}homew {c |}{col 14}{res}{space 2} -.001072{col 26}{space 2} .0010503{col 37}{space 1}   -1.02{col 46}{space 3}0.308{col 54}{space 4}-.0031326{col 67}{space 3} .0009885
{txt}{space 4}L8lnPall {c |}{col 14}{res}{space 2} .0001687{col 26}{space 2} .0018505{col 37}{space 1}    0.09{col 46}{space 3}0.927{col 54}{space 4}-.0034615{col 67}{space 3} .0037989
{txt}{space 6}L8taut {c |}{col 14}{res}{space 2} .9328153{col 26}{space 2} .0230123{col 37}{space 1}   40.54{col 46}{space 3}0.000{col 54}{space 4} .8876704{col 67}{space 3} .9779602
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .0063224{col 26}{space 2} .0008452{col 37}{space 1}    7.48{col 46}{space 3}0.000{col 54}{space 4} .0046644{col 67}{space 3} .0079805
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .01909794
     {txt}sigma_e {c |} {res} .01496422
         {txt}rho {c |} {res} .61959677{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
{res}
{txt}Fixed-effects (within) IV regression{col 49}Number of obs{col 67}={col 69}{res}    40,805
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,315

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0233{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0120{col 63}{txt}avg{col 67}={col 69}{res}      31.0
{txt}     overall = {res}0.0220{col 63}{txt}max{col 67}={col 69}{res}     1,568


{txt}{col 49}Wald chi2({res}5{txt}){col 67}={col 70}{res} 15316.28
{txt}corr(u_i, Xb){col 16}= {res}-0.1655{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:1,315} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       L8lnP{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}L8tautApp {c |}{col 14}{res}{space 2}-2.621854{col 26}{space 2} .4461789{col 37}{space 1}   -5.88{col 46}{space 3}0.000{col 54}{space 4}-3.496348{col 67}{space 3}-1.747359
{txt}{space 8}ncty {c |}{col 14}{res}{space 2}-.0030752{col 26}{space 2} .0014889{col 37}{space 1}   -2.07{col 46}{space 3}0.039{col 54}{space 4}-.0059934{col 67}{space 3} -.000157
{txt}{space 7}lnP85 {c |}{col 14}{res}{space 2}-.0385648{col 26}{space 2} .0065166{col 37}{space 1}   -5.92{col 46}{space 3}0.000{col 54}{space 4} -.051337{col 67}{space 3}-.0257926
{txt}{space 7}homew {c |}{col 14}{res}{space 2} .1576484{col 26}{space 2} .0244113{col 37}{space 1}    6.46{col 46}{space 3}0.000{col 54}{space 4} .1098031{col 67}{space 3} .2054936
{txt}{space 4}L8lnPall {c |}{col 14}{res}{space 2} .2490864{col 26}{space 2} .0386554{col 37}{space 1}    6.44{col 46}{space 3}0.000{col 54}{space 4} .1733232{col 67}{space 3} .3248495
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .2738992{col 26}{space 2} .0185474{col 37}{space 1}   14.77{col 46}{space 3}0.000{col 54}{space 4}  .237547{col 67}{space 3} .3102513
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .31368829
     {txt}sigma_e {c |} {res} .49749313
         {txt}rho {c |} {res} .28447648{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
{p 0 16 86}Instrumented:{space 3}L8tautApp{p_end}
{p 0 16 86}Instruments:{space 4}ncty lnP85 homew L8lnPall L8taut{p_end}
{hline 78}

{com}. gen esample = e(sample) == 1
{txt}
{com}. xtivreg LLlnP $c LLlnPall (LLtautApp = LLtaut) if y==2004 & $iff, fe i(id) $vce first   

{txt}First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    40,805
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,315

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.6061{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.7418{col 63}{txt}avg{col 67}={col 69}{res}      31.0
{txt}     overall = {res}0.6500{col 63}{txt}max{col 67}={col 69}{res}     1,568

{txt}{col 49}F({res}5{txt},{res}1314{txt}){col 67}={col 70}{res}   599.53
{txt}corr(u_i, Xb){col 16}= {res}-0.0124{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:1,315} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}   LLtautApp{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}ncty {c |}{col 14}{res}{space 2} .0002444{col 26}{space 2} .0000454{col 37}{space 1}    5.38{col 46}{space 3}0.000{col 54}{space 4} .0001553{col 67}{space 3} .0003334
{txt}{space 7}lnP85 {c |}{col 14}{res}{space 2}-.0001769{col 26}{space 2}   .00016{col 37}{space 1}   -1.11{col 46}{space 3}0.269{col 54}{space 4}-.0004908{col 67}{space 3}  .000137
{txt}{space 7}homew {c |}{col 14}{res}{space 2}-.0007969{col 26}{space 2} .0010461{col 37}{space 1}   -0.76{col 46}{space 3}0.446{col 54}{space 4}-.0028491{col 67}{space 3} .0012554
{txt}{space 4}LLlnPall {c |}{col 14}{res}{space 2}-.0045416{col 26}{space 2}  .003295{col 37}{space 1}   -1.38{col 46}{space 3}0.168{col 54}{space 4}-.0110056{col 67}{space 3} .0019224
{txt}{space 6}LLtaut {c |}{col 14}{res}{space 2} .8440286{col 26}{space 2} .0334334{col 37}{space 1}   25.25{col 46}{space 3}0.000{col 54}{space 4} .7784399{col 67}{space 3} .9096173
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-.0053593{col 26}{space 2} .0007416{col 37}{space 1}   -7.23{col 46}{space 3}0.000{col 54}{space 4}-.0068142{col 67}{space 3}-.0039044
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .01960848
     {txt}sigma_e {c |} {res} .01705038
         {txt}rho {c |} {res} .56944289{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
{res}
{txt}Fixed-effects (within) IV regression{col 49}Number of obs{col 67}={col 69}{res}    40,805
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,315

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0123{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0064{col 63}{txt}avg{col 67}={col 69}{res}      31.0
{txt}     overall = {res}0.0114{col 63}{txt}max{col 67}={col 69}{res}     1,568


{txt}{col 49}Wald chi2({res}5{txt}){col 67}={col 70}{res}  9976.55
{txt}corr(u_i, Xb){col 16}= {res}-0.1638{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:1,315} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       LLlnP{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}LLtautApp {c |}{col 14}{res}{space 2}-1.681321{col 26}{space 2}  .346623{col 37}{space 1}   -4.85{col 46}{space 3}0.000{col 54}{space 4}-2.360689{col 67}{space 3}-1.001952
{txt}{space 8}ncty {c |}{col 14}{res}{space 2} .0045958{col 26}{space 2} .0013295{col 37}{space 1}    3.46{col 46}{space 3}0.001{col 54}{space 4} .0019901{col 67}{space 3} .0072015
{txt}{space 7}lnP85 {c |}{col 14}{res}{space 2} .0075633{col 26}{space 2} .0067284{col 37}{space 1}    1.12{col 46}{space 3}0.261{col 54}{space 4} -.005624{col 67}{space 3} .0207507
{txt}{space 7}homew {c |}{col 14}{res}{space 2} -.092283{col 26}{space 2} .0158619{col 37}{space 1}   -5.82{col 46}{space 3}0.000{col 54}{space 4}-.1233718{col 67}{space 3}-.0611942
{txt}{space 4}LLlnPall {c |}{col 14}{res}{space 2} .4347375{col 26}{space 2} .0599894{col 37}{space 1}    7.25{col 46}{space 3}0.000{col 54}{space 4} .3171605{col 67}{space 3} .5523145
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-.1392635{col 26}{space 2} .0156013{col 37}{space 1}   -8.93{col 46}{space 3}0.000{col 54}{space 4}-.1698415{col 67}{space 3}-.1086856
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .38096138
     {txt}sigma_e {c |} {res} .54937485
         {txt}rho {c |} {res} .32471959{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
{p 0 16 86}Instrumented:{space 3}LLtautApp{p_end}
{p 0 16 86}Instruments:{space 4}ncty lnP85 homew LLlnPall LLtaut{p_end}
{hline 78}

{com}. 
. * First stage
. xtreg L8tautApp L8taut $c L8lnPall if y==2000 & $iff, fe i(id) $vce 
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    43,979
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,348

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.7793{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.7850{col 63}{txt}avg{col 67}={col 69}{res}      32.6
{txt}     overall = {res}0.7633{col 63}{txt}max{col 67}={col 69}{res}     1,681

{txt}{col 49}F({res}5{txt},{res}1347{txt}){col 67}={col 70}{res}  1817.10
{txt}corr(u_i, Xb){col 16}= {res}-0.1216{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:1,348} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}   L8tautApp{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}L8taut {c |}{col 14}{res}{space 2} .9643002{col 26}{space 2} .0155424{col 37}{space 1}   62.04{col 46}{space 3}0.000{col 54}{space 4} .9338102{col 67}{space 3} .9947901
{txt}{space 8}ncty {c |}{col 14}{res}{space 2}-.0001546{col 26}{space 2} .0000367{col 37}{space 1}   -4.21{col 46}{space 3}0.000{col 54}{space 4}-.0002267{col 67}{space 3}-.0000826
{txt}{space 7}lnP85 {c |}{col 14}{res}{space 2} .0000347{col 26}{space 2} .0001373{col 37}{space 1}    0.25{col 46}{space 3}0.801{col 54}{space 4}-.0002347{col 67}{space 3}  .000304
{txt}{space 7}homew {c |}{col 14}{res}{space 2}-.0014206{col 26}{space 2} .0009495{col 37}{space 1}   -1.50{col 46}{space 3}0.135{col 54}{space 4}-.0032833{col 67}{space 3} .0004421
{txt}{space 4}L8lnPall {c |}{col 14}{res}{space 2}-.0008852{col 26}{space 2} .0017601{col 37}{space 1}   -0.50{col 46}{space 3}0.615{col 54}{space 4}-.0043382{col 67}{space 3} .0025677
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .0072525{col 26}{space 2} .0007671{col 37}{space 1}    9.45{col 46}{space 3}0.000{col 54}{space 4} .0057477{col 67}{space 3} .0087574
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .01988082
     {txt}sigma_e {c |} {res} .01536957
         {txt}rho {c |} {res} .62591492{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}

{com}. xtreg L8tautApp L8taut $c L8lnPall if y==2000 & $iff & esample==1, fe i(id) $vce 
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    40,805
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,315

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.6641{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.6860{col 63}{txt}avg{col 67}={col 69}{res}      31.0
{txt}     overall = {res}0.6515{col 63}{txt}max{col 67}={col 69}{res}     1,568

{txt}{col 49}F({res}5{txt},{res}1314{txt}){col 67}={col 70}{res}  1028.52
{txt}corr(u_i, Xb){col 16}= {res}-0.1493{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:1,315} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}   L8tautApp{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}L8taut {c |}{col 14}{res}{space 2} .9328153{col 26}{space 2} .0230123{col 37}{space 1}   40.54{col 46}{space 3}0.000{col 54}{space 4} .8876704{col 67}{space 3} .9779602
{txt}{space 8}ncty {c |}{col 14}{res}{space 2}-.0002129{col 26}{space 2} .0000415{col 37}{space 1}   -5.13{col 46}{space 3}0.000{col 54}{space 4}-.0002944{col 67}{space 3}-.0001314
{txt}{space 7}lnP85 {c |}{col 14}{res}{space 2} .0000421{col 26}{space 2} .0001457{col 37}{space 1}    0.29{col 46}{space 3}0.772{col 54}{space 4}-.0002437{col 67}{space 3}  .000328
{txt}{space 7}homew {c |}{col 14}{res}{space 2} -.001072{col 26}{space 2} .0010503{col 37}{space 1}   -1.02{col 46}{space 3}0.308{col 54}{space 4}-.0031326{col 67}{space 3} .0009885
{txt}{space 4}L8lnPall {c |}{col 14}{res}{space 2} .0001687{col 26}{space 2} .0018505{col 37}{space 1}    0.09{col 46}{space 3}0.927{col 54}{space 4}-.0034615{col 67}{space 3} .0037989
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .0063224{col 26}{space 2} .0008452{col 37}{space 1}    7.48{col 46}{space 3}0.000{col 54}{space 4} .0046644{col 67}{space 3} .0079805
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .01909794
     {txt}sigma_e {c |} {res} .01496422
         {txt}rho {c |} {res} .61959677{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}

{com}. 
. * Reduced form
. xtreg $yy L8taut $c L8lnPall if y==2000 & $iff, fe i(id) $vce 
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    40,805
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,315

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0282{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0116{col 63}{txt}avg{col 67}={col 69}{res}      31.0
{txt}     overall = {res}0.0223{col 63}{txt}max{col 67}={col 69}{res}     1,568

{txt}{col 49}F({res}5{txt},{res}1314{txt}){col 67}={col 70}{res}    57.32
{txt}corr(u_i, Xb){col 16}= {res}-0.1924{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:1,315} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       L8lnP{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}L8taut {c |}{col 14}{res}{space 2}-2.445705{col 26}{space 2} .4253925{col 37}{space 1}   -5.75{col 46}{space 3}0.000{col 54}{space 4}-3.280228{col 67}{space 3}-1.611183
{txt}{space 8}ncty {c |}{col 14}{res}{space 2} -.002517{col 26}{space 2} .0014874{col 37}{space 1}   -1.69{col 46}{space 3}0.091{col 54}{space 4} -.005435{col 67}{space 3} .0004009
{txt}{space 7}lnP85 {c |}{col 14}{res}{space 2}-.0386753{col 26}{space 2} .0064203{col 37}{space 1}   -6.02{col 46}{space 3}0.000{col 54}{space 4}-.0512704{col 67}{space 3}-.0260801
{txt}{space 7}homew {c |}{col 14}{res}{space 2} .1604591{col 26}{space 2} .0248157{col 37}{space 1}    6.47{col 46}{space 3}0.000{col 54}{space 4} .1117763{col 67}{space 3} .2091419
{txt}{space 4}L8lnPall {c |}{col 14}{res}{space 2}  .248644{col 26}{space 2} .0384263{col 37}{space 1}    6.47{col 46}{space 3}0.000{col 54}{space 4} .1732604{col 67}{space 3} .3240276
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .2573227{col 26}{space 2} .0185504{col 37}{space 1}   13.87{col 46}{space 3}0.000{col 54}{space 4} .2209311{col 67}{space 3} .2937144
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .31338807
     {txt}sigma_e {c |} {res} .49626105
         {txt}rho {c |} {res} .28509653{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}

{com}. 
. * Binscatter
. binscatter $yy L8taut if y==2000 & $iff, controls($c) absorb(id) ///
> xtitle("{c -(}&Delta{c )-}T_bar{c -(}sub:i{c )-}") ytitle("{c -(}&Delta{c )-}lnK{c -(}sub:i{c )-}")
{res}{txt}
{com}. graph export ../graph/binscatter_2019.pdf, replace
{txt}(file /Users/fcoell/Dropbox/PATSTAT/DATA/../graph/binscatter_2019.pdf written in PDF format)

{com}. graph export ../graph/binscatter_2019.eps, replace
{txt}(file ../graph/binscatter_2019.eps written in EPS format)

{com}. 
. * Back of the envelope exercise
. sum L8lnP L8lnC L8tautApp L8taut if y==2000 & $iff

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 7}L8lnP {c |}{res}     41,058    .4135682    .5124209          0   5.579101
{txt}{space 7}L8lnC {c |}{res}     27,082    .4770704    .7420803          0   7.477557
{txt}{space 3}L8tautApp {c |}{res}     44,368   -.0147291    .0353065  -.8919714   .4419223
{txt}{space 6}L8taut {c |}{res}     44,368   -.0216239    .0330633       -.85   .4419223
{txt}
{com}. 
. 
. * -----------------------------------------------------------------------------
. * Table 4
. * -----------------------------------------------------------------------------
. * Patent quality
. 
. * Citations
. xtivreg L8lnCbar $c L8lnPall (L8tautApp = L8taut) if y==2000 & $iff, fe i(id) $vce first

{txt}First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    26,886
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,059

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.6266{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.4383{col 63}{txt}avg{col 67}={col 69}{res}      25.4
{txt}     overall = {res}0.5540{col 63}{txt}max{col 67}={col 69}{res}     1,217

{txt}{col 49}F({res}5{txt},{res}1058{txt}){col 67}={col 70}{res}   774.11
{txt}corr(u_i, Xb){col 16}= {res}-0.2077{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:1,059} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}   L8tautApp{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}ncty {c |}{col 14}{res}{space 2}-.0002557{col 26}{space 2} .0000583{col 37}{space 1}   -4.39{col 46}{space 3}0.000{col 54}{space 4}  -.00037{col 67}{space 3}-.0001413
{txt}{space 7}lnP85 {c |}{col 14}{res}{space 2} .0000994{col 26}{space 2} .0001454{col 37}{space 1}    0.68{col 46}{space 3}0.494{col 54}{space 4}-.0001859{col 67}{space 3} .0003847
{txt}{space 7}homew {c |}{col 14}{res}{space 2}-.0005071{col 26}{space 2}  .001622{col 37}{space 1}   -0.31{col 46}{space 3}0.755{col 54}{space 4}-.0036899{col 67}{space 3} .0026757
{txt}{space 4}L8lnPall {c |}{col 14}{res}{space 2} .0008306{col 26}{space 2} .0024144{col 37}{space 1}    0.34{col 46}{space 3}0.731{col 54}{space 4}-.0039071{col 67}{space 3} .0055682
{txt}{space 6}L8taut {c |}{col 14}{res}{space 2}    .9158{col 26}{space 2} .0544363{col 37}{space 1}   16.82{col 46}{space 3}0.000{col 54}{space 4} .8089846{col 67}{space 3} 1.022615
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .0056092{col 26}{space 2} .0019545{col 37}{space 1}    2.87{col 46}{space 3}0.004{col 54}{space 4} .0017741{col 67}{space 3} .0094444
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .01828914
     {txt}sigma_e {c |} {res} .01069195
         {txt}rho {c |} {res} .74528708{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
{res}
{txt}Fixed-effects (within) IV regression{col 49}Number of obs{col 67}={col 69}{res}    26,886
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,059

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0047{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0037{col 63}{txt}avg{col 67}={col 69}{res}      25.4
{txt}     overall = {res}0.0034{col 63}{txt}max{col 67}={col 69}{res}     1,217


{txt}{col 49}Wald chi2({res}5{txt}){col 67}={col 70}{res}   235.37
{txt}corr(u_i, Xb){col 16}= {res}-0.0486{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:1,059} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    L8lnCbar{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}L8tautApp {c |}{col 14}{res}{space 2}-.6792791{col 26}{space 2} .3711381{col 37}{space 1}   -1.83{col 46}{space 3}0.067{col 54}{space 4}-1.406696{col 67}{space 3} .0481382
{txt}{space 8}ncty {c |}{col 14}{res}{space 2} .0023978{col 26}{space 2} .0012509{col 37}{space 1}    1.92{col 46}{space 3}0.055{col 54}{space 4}-.0000538{col 67}{space 3} .0048495
{txt}{space 7}lnP85 {c |}{col 14}{res}{space 2}  .024724{col 26}{space 2} .0048687{col 37}{space 1}    5.08{col 46}{space 3}0.000{col 54}{space 4} .0151817{col 67}{space 3} .0342664
{txt}{space 7}homew {c |}{col 14}{res}{space 2} .0258797{col 26}{space 2} .0199367{col 37}{space 1}    1.30{col 46}{space 3}0.194{col 54}{space 4}-.0131955{col 67}{space 3} .0649549
{txt}{space 4}L8lnPall {c |}{col 14}{res}{space 2}-.0499388{col 26}{space 2} .0460579{col 37}{space 1}   -1.08{col 46}{space 3}0.278{col 54}{space 4}-.1402106{col 67}{space 3} .0403329
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .0335568{col 26}{space 2} .0232317{col 37}{space 1}    1.44{col 46}{space 3}0.149{col 54}{space 4}-.0119765{col 67}{space 3}   .07909
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .36500822
     {txt}sigma_e {c |} {res} .54168229
         {txt}rho {c |} {res} .31227184{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
{p 0 16 86}Instrumented:{space 3}L8tautApp{p_end}
{p 0 16 86}Instruments:{space 4}ncty lnP85 homew L8lnPall L8taut{p_end}
{hline 78}

{com}. 
. * Research team
. xtivreg L8lnIbar $c L8lnPall (L8tautApp = L8taut) if y==2000 & $iff, fe i(id) $vce first        

{txt}First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    37,539
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,262

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.6722{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.7023{col 63}{txt}avg{col 67}={col 69}{res}      29.7
{txt}     overall = {res}0.6627{col 63}{txt}max{col 67}={col 69}{res}     1,467

{txt}{col 49}F({res}5{txt},{res}1261{txt}){col 67}={col 70}{res}  1343.65
{txt}corr(u_i, Xb){col 16}= {res}-0.1551{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:1,262} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}   L8tautApp{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}ncty {c |}{col 14}{res}{space 2}-.0001695{col 26}{space 2} .0000523{col 37}{space 1}   -3.24{col 46}{space 3}0.001{col 54}{space 4}-.0002721{col 67}{space 3}-.0000669
{txt}{space 7}lnP85 {c |}{col 14}{res}{space 2} .0000982{col 26}{space 2} .0001457{col 37}{space 1}    0.67{col 46}{space 3}0.501{col 54}{space 4}-.0001877{col 67}{space 3}  .000384
{txt}{space 7}homew {c |}{col 14}{res}{space 2}-.0008421{col 26}{space 2} .0009551{col 37}{space 1}   -0.88{col 46}{space 3}0.378{col 54}{space 4}-.0027158{col 67}{space 3} .0010317
{txt}{space 4}L8lnPall {c |}{col 14}{res}{space 2} .0010061{col 26}{space 2} .0018085{col 37}{space 1}    0.56{col 46}{space 3}0.578{col 54}{space 4} -.002542{col 67}{space 3} .0045542
{txt}{space 6}L8taut {c |}{col 14}{res}{space 2} .9394153{col 26}{space 2} .0232564{col 37}{space 1}   40.39{col 46}{space 3}0.000{col 54}{space 4} .8937897{col 67}{space 3} .9850408
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .0053845{col 26}{space 2} .0008136{col 37}{space 1}    6.62{col 46}{space 3}0.000{col 54}{space 4} .0037884{col 67}{space 3} .0069806
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .01896539
     {txt}sigma_e {c |} {res} .01505176
         {txt}rho {c |} {res} .61354586{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
{res}
{txt}Fixed-effects (within) IV regression{col 49}Number of obs{col 67}={col 69}{res}    37,539
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,262

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0009{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0003{col 63}{txt}avg{col 67}={col 69}{res}      29.7
{txt}     overall = {res}0.0011{col 63}{txt}max{col 67}={col 69}{res}     1,467


{txt}{col 49}Wald chi2({res}5{txt}){col 67}={col 70}{res}  3298.62
{txt}corr(u_i, Xb){col 16}= {res}-0.0157{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:1,262} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    L8lnIbar{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}L8tautApp {c |}{col 14}{res}{space 2}-.2977447{col 26}{space 2} .0919677{col 37}{space 1}   -3.24{col 46}{space 3}0.001{col 54}{space 4}-.4779981{col 67}{space 3}-.1174914
{txt}{space 8}ncty {c |}{col 14}{res}{space 2} -.001425{col 26}{space 2} .0004582{col 37}{space 1}   -3.11{col 46}{space 3}0.002{col 54}{space 4}-.0023231{col 67}{space 3}-.0005269
{txt}{space 7}lnP85 {c |}{col 14}{res}{space 2} .0053947{col 26}{space 2} .0018096{col 37}{space 1}    2.98{col 46}{space 3}0.003{col 54}{space 4} .0018479{col 67}{space 3} .0089416
{txt}{space 7}homew {c |}{col 14}{res}{space 2} .0070618{col 26}{space 2} .0073077{col 37}{space 1}    0.97{col 46}{space 3}0.334{col 54}{space 4}-.0072611{col 67}{space 3} .0213847
{txt}{space 4}L8lnPall {c |}{col 14}{res}{space 2}-.0212082{col 26}{space 2} .0095675{col 37}{space 1}   -2.22{col 46}{space 3}0.027{col 54}{space 4}-.0399602{col 67}{space 3}-.0024562
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .0578424{col 26}{space 2} .0047631{col 37}{space 1}   12.14{col 46}{space 3}0.000{col 54}{space 4} .0485069{col 67}{space 3} .0671779
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .15635187
     {txt}sigma_e {c |} {res} .24042715
         {txt}rho {c |} {res} .29721064{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
{p 0 16 86}Instrumented:{space 3}L8tautApp{p_end}
{p 0 16 86}Instruments:{space 4}ncty lnP85 homew L8lnPall L8taut{p_end}
{hline 78}

{com}. 
. * IPC codes
. xtivreg L8lnIPCbar $c L8lnPall (L8tautApp = L8taut) if y==2000 & $iff, fe i(id) $vce first      

{txt}First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    40,747
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,313

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.6641{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.6863{col 63}{txt}avg{col 67}={col 69}{res}      31.0
{txt}     overall = {res}0.6515{col 63}{txt}max{col 67}={col 69}{res}     1,565

{txt}{col 49}F({res}5{txt},{res}1312{txt}){col 67}={col 70}{res}  1030.09
{txt}corr(u_i, Xb){col 16}= {res}-0.1492{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:1,313} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}   L8tautApp{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}ncty {c |}{col 14}{res}{space 2}-.0002128{col 26}{space 2} .0000415{col 37}{space 1}   -5.13{col 46}{space 3}0.000{col 54}{space 4}-.0002942{col 67}{space 3}-.0001314
{txt}{space 7}lnP85 {c |}{col 14}{res}{space 2} .0000423{col 26}{space 2} .0001457{col 37}{space 1}    0.29{col 46}{space 3}0.772{col 54}{space 4}-.0002436{col 67}{space 3} .0003281
{txt}{space 7}homew {c |}{col 14}{res}{space 2}-.0010593{col 26}{space 2}  .001052{col 37}{space 1}   -1.01{col 46}{space 3}0.314{col 54}{space 4} -.003123{col 67}{space 3} .0010045
{txt}{space 4}L8lnPall {c |}{col 14}{res}{space 2} .0001706{col 26}{space 2} .0018486{col 37}{space 1}    0.09{col 46}{space 3}0.927{col 54}{space 4}-.0034559{col 67}{space 3}  .003797
{txt}{space 6}L8taut {c |}{col 14}{res}{space 2} .9327943{col 26}{space 2}   .02302{col 37}{space 1}   40.52{col 46}{space 3}0.000{col 54}{space 4} .8876343{col 67}{space 3} .9779543
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .0063122{col 26}{space 2}  .000844{col 37}{space 1}    7.48{col 46}{space 3}0.000{col 54}{space 4} .0046564{col 67}{space 3} .0079681
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .01909896
     {txt}sigma_e {c |} {res} .01497174
         {txt}rho {c |} {res} .61938491{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
{res}
{txt}Fixed-effects (within) IV regression{col 49}Number of obs{col 67}={col 69}{res}    40,747
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,313

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0022{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0062{col 63}{txt}avg{col 67}={col 69}{res}      31.0
{txt}     overall = {res}0.0020{col 63}{txt}max{col 67}={col 69}{res}     1,565


{txt}{col 49}Wald chi2({res}5{txt}){col 67}={col 70}{res}  3208.74
{txt}corr(u_i, Xb){col 16}= {res}-0.0168{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:1,313} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}  L8lnIPCbar{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}L8tautApp {c |}{col 14}{res}{space 2}-.1646055{col 26}{space 2} .0970223{col 37}{space 1}   -1.70{col 46}{space 3}0.090{col 54}{space 4}-.3547658{col 67}{space 3} .0255547
{txt}{space 8}ncty {c |}{col 14}{res}{space 2}-.0027694{col 26}{space 2} .0005219{col 37}{space 1}   -5.31{col 46}{space 3}0.000{col 54}{space 4}-.0037924{col 67}{space 3}-.0017465
{txt}{space 7}lnP85 {c |}{col 14}{res}{space 2}-.0070692{col 26}{space 2} .0013644{col 37}{space 1}   -5.18{col 46}{space 3}0.000{col 54}{space 4}-.0097434{col 67}{space 3} -.004395
{txt}{space 7}homew {c |}{col 14}{res}{space 2} .0191514{col 26}{space 2} .0067497{col 37}{space 1}    2.84{col 46}{space 3}0.005{col 54}{space 4} .0059223{col 67}{space 3} .0323806
{txt}{space 4}L8lnPall {c |}{col 14}{res}{space 2} -.012492{col 26}{space 2} .0107703{col 37}{space 1}   -1.16{col 46}{space 3}0.246{col 54}{space 4}-.0336014{col 67}{space 3} .0086174
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}  .072725{col 26}{space 2}  .005042{col 37}{space 1}   14.42{col 46}{space 3}0.000{col 54}{space 4} .0628428{col 67}{space 3} .0826071
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .18153754
     {txt}sigma_e {c |} {res} .27227544
         {txt}rho {c |} {res} .30774061{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
{p 0 16 86}Instrumented:{space 3}L8tautApp{p_end}
{p 0 16 86}Instruments:{space 4}ncty lnP85 homew L8lnPall L8taut{p_end}
{hline 78}

{com}. 
. * Number of markets (family size)
. xtivreg L8lnMbar $c L8lnPall (L8tautApp = L8taut) if y==2000 & $iff, fe i(id) $vce first        

{txt}First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    40,805
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,315

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.6641{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.6860{col 63}{txt}avg{col 67}={col 69}{res}      31.0
{txt}     overall = {res}0.6515{col 63}{txt}max{col 67}={col 69}{res}     1,568

{txt}{col 49}F({res}5{txt},{res}1314{txt}){col 67}={col 70}{res}  1028.52
{txt}corr(u_i, Xb){col 16}= {res}-0.1493{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:1,315} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}   L8tautApp{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}ncty {c |}{col 14}{res}{space 2}-.0002129{col 26}{space 2} .0000415{col 37}{space 1}   -5.13{col 46}{space 3}0.000{col 54}{space 4}-.0002944{col 67}{space 3}-.0001314
{txt}{space 7}lnP85 {c |}{col 14}{res}{space 2} .0000421{col 26}{space 2} .0001457{col 37}{space 1}    0.29{col 46}{space 3}0.772{col 54}{space 4}-.0002437{col 67}{space 3}  .000328
{txt}{space 7}homew {c |}{col 14}{res}{space 2} -.001072{col 26}{space 2} .0010503{col 37}{space 1}   -1.02{col 46}{space 3}0.308{col 54}{space 4}-.0031326{col 67}{space 3} .0009885
{txt}{space 4}L8lnPall {c |}{col 14}{res}{space 2} .0001687{col 26}{space 2} .0018505{col 37}{space 1}    0.09{col 46}{space 3}0.927{col 54}{space 4}-.0034615{col 67}{space 3} .0037989
{txt}{space 6}L8taut {c |}{col 14}{res}{space 2} .9328153{col 26}{space 2} .0230123{col 37}{space 1}   40.54{col 46}{space 3}0.000{col 54}{space 4} .8876704{col 67}{space 3} .9779602
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .0063224{col 26}{space 2} .0008452{col 37}{space 1}    7.48{col 46}{space 3}0.000{col 54}{space 4} .0046644{col 67}{space 3} .0079805
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .01909794
     {txt}sigma_e {c |} {res} .01496422
         {txt}rho {c |} {res} .61959677{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
{res}
{txt}Fixed-effects (within) IV regression{col 49}Number of obs{col 67}={col 69}{res}    40,805
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,315

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0109{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0169{col 63}{txt}avg{col 67}={col 69}{res}      31.0
{txt}     overall = {res}0.0102{col 63}{txt}max{col 67}={col 69}{res}     1,568


{txt}{col 49}Wald chi2({res}5{txt}){col 67}={col 70}{res}  2791.63
{txt}corr(u_i, Xb){col 16}= {res}-0.0266{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:1,315} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    L8lnMbar{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}L8tautApp {c |}{col 14}{res}{space 2} .1568636{col 26}{space 2} .0723808{col 37}{space 1}    2.17{col 46}{space 3}0.030{col 54}{space 4} .0149999{col 67}{space 3} .2987273
{txt}{space 8}ncty {c |}{col 14}{res}{space 2}-.0122561{col 26}{space 2} .0008179{col 37}{space 1}  -14.99{col 46}{space 3}0.000{col 54}{space 4}-.0138591{col 67}{space 3}-.0106531
{txt}{space 7}lnP85 {c |}{col 14}{res}{space 2} .0120412{col 26}{space 2} .0020616{col 37}{space 1}    5.84{col 46}{space 3}0.000{col 54}{space 4} .0080006{col 67}{space 3} .0160818
{txt}{space 7}homew {c |}{col 14}{res}{space 2}-.0216441{col 26}{space 2} .0069466{col 37}{space 1}   -3.12{col 46}{space 3}0.002{col 54}{space 4}-.0352593{col 67}{space 3} -.008029
{txt}{space 4}L8lnPall {c |}{col 14}{res}{space 2}-.0001728{col 26}{space 2} .0151134{col 37}{space 1}   -0.01{col 46}{space 3}0.991{col 54}{space 4}-.0297945{col 67}{space 3} .0294488
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .0941721{col 26}{space 2} .0074001{col 37}{space 1}   12.73{col 46}{space 3}0.000{col 54}{space 4} .0796682{col 67}{space 3}  .108676
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .19881131
     {txt}sigma_e {c |} {res}  .2607227
         {txt}rho {c |} {res}  .3676754{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
{p 0 16 86}Instrumented:{space 3}L8tautApp{p_end}
{p 0 16 86}Instruments:{space 4}ncty lnP85 homew L8lnPall L8taut{p_end}
{hline 78}

{com}. 
. 
. * -----------------------------------------------------------------------------
. * Table 5
. * -----------------------------------------------------------------------------
. * -----------------------------------------------------------------------------
. * Robustness
. * -----------------------------------------------------------------------------
. global c "ncty lnP85 homew L8lnPall"
{txt}
{com}. 
. * Country-level tariffs
. xtreg $yy L8taus $c if y==2000 & $iff, fe i(id) $vce
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    39,037
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,137

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0262{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0235{col 63}{txt}avg{col 67}={col 69}{res}      34.3
{txt}     overall = {res}0.0184{col 63}{txt}max{col 67}={col 69}{res}     1,562

{txt}{col 49}F({res}5{txt},{res}1136{txt}){col 67}={col 70}{res}    44.83
{txt}corr(u_i, Xb){col 16}= {res}-0.1631{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:1,137} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       L8lnP{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}L8taus {c |}{col 14}{res}{space 2}-3.322694{col 26}{space 2} .6139385{col 37}{space 1}   -5.41{col 46}{space 3}0.000{col 54}{space 4}-4.527275{col 67}{space 3}-2.118114
{txt}{space 8}ncty {c |}{col 14}{res}{space 2} -.003565{col 26}{space 2} .0015642{col 37}{space 1}   -2.28{col 46}{space 3}0.023{col 54}{space 4}-.0066341{col 67}{space 3}-.0004959
{txt}{space 7}lnP85 {c |}{col 14}{res}{space 2} -.034168{col 26}{space 2} .0066233{col 37}{space 1}   -5.16{col 46}{space 3}0.000{col 54}{space 4}-.0471632{col 67}{space 3}-.0211727
{txt}{space 7}homew {c |}{col 14}{res}{space 2} .1145158{col 26}{space 2} .0243583{col 37}{space 1}    4.70{col 46}{space 3}0.000{col 54}{space 4} .0667235{col 67}{space 3} .1623081
{txt}{space 4}L8lnPall {c |}{col 14}{res}{space 2} .2530064{col 26}{space 2} .0370989{col 37}{space 1}    6.82{col 46}{space 3}0.000{col 54}{space 4} .1802164{col 67}{space 3} .3257965
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .2270319{col 26}{space 2} .0235577{col 37}{space 1}    9.64{col 46}{space 3}0.000{col 54}{space 4} .1808105{col 67}{space 3} .2732533
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .29866659
     {txt}sigma_e {c |} {res} .49891849
         {txt}rho {c |} {res}  .2638157{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}

{com}. 
. * Triadic patents
. xtivreg L8lnPtri $c (L8tautApp = L8taut) if y==2000 & $iff, fe i(id) $vce first

{txt}First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}     2,405
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}       325

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.7779{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.8791{col 63}{txt}avg{col 67}={col 69}{res}       7.4
{txt}     overall = {res}0.7536{col 63}{txt}max{col 67}={col 69}{res}       133

{txt}{col 49}F({res}5{txt},{res}324{txt}){col 67}={col 70}{res}   833.43
{txt}corr(u_i, Xb){col 16}= {res}-0.1929{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:325} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}   L8tautApp{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}ncty {c |}{col 14}{res}{space 2}-.0002276{col 26}{space 2} .0000601{col 37}{space 1}   -3.79{col 46}{space 3}0.000{col 54}{space 4}-.0003459{col 67}{space 3}-.0001094
{txt}{space 7}lnP85 {c |}{col 14}{res}{space 2} .0004169{col 26}{space 2} .0001317{col 37}{space 1}    3.17{col 46}{space 3}0.002{col 54}{space 4} .0001578{col 67}{space 3}  .000676
{txt}{space 7}homew {c |}{col 14}{res}{space 2}-.0000864{col 26}{space 2} .0016629{col 37}{space 1}   -0.05{col 46}{space 3}0.959{col 54}{space 4}-.0033578{col 67}{space 3} .0031851
{txt}{space 4}L8lnPall {c |}{col 14}{res}{space 2} .0028939{col 26}{space 2} .0018461{col 37}{space 1}    1.57{col 46}{space 3}0.118{col 54}{space 4}-.0007379{col 67}{space 3} .0065257
{txt}{space 6}L8taut {c |}{col 14}{res}{space 2} .8806695{col 26}{space 2} .0574818{col 37}{space 1}   15.32{col 46}{space 3}0.000{col 54}{space 4} .7675849{col 67}{space 3} .9937541
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .0006951{col 26}{space 2} .0016072{col 37}{space 1}    0.43{col 46}{space 3}0.666{col 54}{space 4}-.0024668{col 67}{space 3}  .003857
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res}  .0082347
     {txt}sigma_e {c |} {res} .00455152
         {txt}rho {c |} {res} .76598722{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
{res}
{txt}Fixed-effects (within) IV regression{col 49}Number of obs{col 67}={col 69}{res}     2,405
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}       325

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0383{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0895{col 63}{txt}avg{col 67}={col 69}{res}       7.4
{txt}     overall = {res}0.0676{col 63}{txt}max{col 67}={col 69}{res}       133


{txt}{col 49}Wald chi2({res}5{txt}){col 67}={col 70}{res}   349.15
{txt}corr(u_i, Xb){col 16}= {res}0.0742{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:325} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    L8lnPtri{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}L8tautApp {c |}{col 14}{res}{space 2}-4.654309{col 26}{space 2} 2.663333{col 37}{space 1}   -1.75{col 46}{space 3}0.081{col 54}{space 4}-9.874346{col 67}{space 3} .5657282
{txt}{space 8}ncty {c |}{col 14}{res}{space 2}-.0283499{col 26}{space 2} .0054236{col 37}{space 1}   -5.23{col 46}{space 3}0.000{col 54}{space 4}-.0389799{col 67}{space 3}-.0177199
{txt}{space 7}lnP85 {c |}{col 14}{res}{space 2} .1234767{col 26}{space 2} .0179721{col 37}{space 1}    6.87{col 46}{space 3}0.000{col 54}{space 4}  .088252{col 67}{space 3} .1587014
{txt}{space 7}homew {c |}{col 14}{res}{space 2}-.2256351{col 26}{space 2} .0896231{col 37}{space 1}   -2.52{col 46}{space 3}0.012{col 54}{space 4}-.4012931{col 67}{space 3} -.049977
{txt}{space 4}L8lnPall {c |}{col 14}{res}{space 2} .3214764{col 26}{space 2} .2049555{col 37}{space 1}    1.57{col 46}{space 3}0.117{col 54}{space 4} -.080229{col 67}{space 3} .7231817
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .0676724{col 26}{space 2} .1156141{col 37}{space 1}    0.59{col 46}{space 3}0.558{col 54}{space 4} -.158927{col 67}{space 3} .2942719
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .51217784
     {txt}sigma_e {c |} {res} .60341445
         {txt}rho {c |} {res} .41876026{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
{p 0 16 86}Instrumented:{space 3}L8tautApp{p_end}
{p 0 16 86}Instruments:{space 4}ncty lnP85 homew L8lnPall L8taut{p_end}
{hline 78}

{com}. 
. * Fixed effects for destination
. merge m:1 hrm using weightswic5d_reshape_to1985, keep(match master)
{res}
{txt}{col 5}Result{col 38}# of obs.
{col 5}{hline 41}
{col 5}not matched{col 30}{res}         124,557
{txt}{col 9}from master{col 30}{res}         124,557{txt}  (_merge==1)
{col 9}from using{col 30}{res}               0{txt}  (_merge==2)

{col 5}matched{col 30}{res}         288,657{txt}  (_merge==3)
{col 5}{hline 41}

{com}. foreach v of varlist w?? {c -(}
{txt}  2{com}.   gen Dum`v' = `v'>0
{txt}  3{com}. {c )-}
{txt}
{com}. xtivreg $yy ncty lnP85 Dumw?? (L8tautApp = L8taut) if y==2000 & $iff, fe i(id) $vce first       
{err}variable {bf}year{sf} not found
{txt}{search r(111), local:r(111);}

end of do-file

{search r(111), local:r(111);}

{com}. do /var/folders/4b/ddj4lcfd6dg3kb5j9p60dwt8jdnp4k/T/StataRun1592820365813.do
{txt}
{com}. xtivreg $yy ncty lnP85 Dumw?? (L8tautApp = L8taut) if y==2000 & $iff, fe i(id) $vce first       
{txt}note: Dumwto omitted because of collinearity
note: DumwCO omitted because of collinearity
note: DumwGT omitted because of collinearity
note: DumwUA omitted because of collinearity
note: DumwVN omitted because of collinearity
note: DumwZM omitted because of collinearity

First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    41,058
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,315

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.7226{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.7119{col 63}{txt}avg{col 67}={col 69}{res}      31.2
{txt}     overall = {res}0.7110{col 63}{txt}max{col 67}={col 69}{res}     1,573

{col 49}{help j_robustsingular##|_new:F(50,1314)}{col 67}{txt}={col 70}{res}        .
{txt}corr(u_i, Xb){col 16}= {res}-0.1163{txt}{col 49}Prob > F{col 67}={col 73}{res}     .

{txt}{ralign 78:(Std. Err. adjusted for {res:1,315} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}   L8tautApp{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}ncty {c |}{col 14}{res}{space 2}  .000688{col 26}{space 2}  .002645{col 37}{space 1}    0.26{col 46}{space 3}0.795{col 54}{space 4}-.0045009{col 67}{space 3} .0058768
{txt}{space 7}lnP85 {c |}{col 14}{res}{space 2} -.000134{col 26}{space 2} .0001307{col 37}{space 1}   -1.02{col 46}{space 3}0.306{col 54}{space 4}-.0003905{col 67}{space 3} .0001225
{txt}{space 6}Dumwto {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}DumwAR {c |}{col 14}{res}{space 2} .0008518{col 26}{space 2} .0028725{col 37}{space 1}    0.30{col 46}{space 3}0.767{col 54}{space 4}-.0047833{col 67}{space 3}  .006487
{txt}{space 6}DumwAT {c |}{col 14}{res}{space 2}  .003095{col 26}{space 2} .0025738{col 37}{space 1}    1.20{col 46}{space 3}0.229{col 54}{space 4}-.0019542{col 67}{space 3} .0081442
{txt}{space 6}DumwAU {c |}{col 14}{res}{space 2}-.0030873{col 26}{space 2} .0025642{col 37}{space 1}   -1.20{col 46}{space 3}0.229{col 54}{space 4}-.0081177{col 67}{space 3} .0019431
{txt}{space 6}DumwBE {c |}{col 14}{res}{space 2} .0008244{col 26}{space 2} .0026256{col 37}{space 1}    0.31{col 46}{space 3}0.754{col 54}{space 4}-.0043265{col 67}{space 3} .0059753
{txt}{space 6}DumwBR {c |}{col 14}{res}{space 2}-.0016982{col 26}{space 2} .0026392{col 37}{space 1}   -0.64{col 46}{space 3}0.520{col 54}{space 4}-.0068757{col 67}{space 3} .0034793
{txt}{space 6}DumwCA {c |}{col 14}{res}{space 2} .0066207{col 26}{space 2} .0032777{col 37}{space 1}    2.02{col 46}{space 3}0.044{col 54}{space 4} .0001905{col 67}{space 3} .0130509
{txt}{space 6}DumwCN {c |}{col 14}{res}{space 2}-.0099486{col 26}{space 2} .0032741{col 37}{space 1}   -3.04{col 46}{space 3}0.002{col 54}{space 4}-.0163716{col 67}{space 3}-.0035256
{txt}{space 6}DumwCO {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}DumwCS {c |}{col 14}{res}{space 2} .0006098{col 26}{space 2} .0033983{col 37}{space 1}    0.18{col 46}{space 3}0.858{col 54}{space 4} -.006057{col 67}{space 3} .0072765
{txt}{space 6}DumwCU {c |}{col 14}{res}{space 2} .0038252{col 26}{space 2} .0093005{col 37}{space 1}    0.41{col 46}{space 3}0.681{col 54}{space 4}-.0144203{col 67}{space 3} .0220708
{txt}{space 6}DumwDE {c |}{col 14}{res}{space 2} 4.57e-06{col 26}{space 2} .0026274{col 37}{space 1}    0.00{col 46}{space 3}0.999{col 54}{space 4}-.0051497{col 67}{space 3} .0051589
{txt}{space 6}DumwDK {c |}{col 14}{res}{space 2} .0010533{col 26}{space 2} .0026718{col 37}{space 1}    0.39{col 46}{space 3}0.693{col 54}{space 4}-.0041882{col 67}{space 3} .0062948
{txt}{space 6}DumwDZ {c |}{col 14}{res}{space 2} .0132248{col 26}{space 2} .0113004{col 37}{space 1}    1.17{col 46}{space 3}0.242{col 54}{space 4} -.008944{col 67}{space 3} .0353936
{txt}{space 6}DumwEG {c |}{col 14}{res}{space 2}-.0035867{col 26}{space 2} .0033403{col 37}{space 1}   -1.07{col 46}{space 3}0.283{col 54}{space 4}-.0101397{col 67}{space 3} .0029662
{txt}{space 6}DumwEP {c |}{col 14}{res}{space 2}-.0013314{col 26}{space 2} .0026317{col 37}{space 1}   -0.51{col 46}{space 3}0.613{col 54}{space 4}-.0064941{col 67}{space 3} .0038313
{txt}{space 6}DumwES {c |}{col 14}{res}{space 2} .0018025{col 26}{space 2} .0026016{col 37}{space 1}    0.69{col 46}{space 3}0.489{col 54}{space 4}-.0033012{col 67}{space 3} .0069063
{txt}{space 6}DumwFI {c |}{col 14}{res}{space 2} .0000345{col 26}{space 2} .0026014{col 37}{space 1}    0.01{col 46}{space 3}0.989{col 54}{space 4}-.0050689{col 67}{space 3} .0051378
{txt}{space 6}DumwFR {c |}{col 14}{res}{space 2}-.0012461{col 26}{space 2} .0026047{col 37}{space 1}   -0.48{col 46}{space 3}0.632{col 54}{space 4}-.0063559{col 67}{space 3} .0038637
{txt}{space 6}DumwGB {c |}{col 14}{res}{space 2} -.000494{col 26}{space 2} .0025522{col 37}{space 1}   -0.19{col 46}{space 3}0.847{col 54}{space 4}-.0055008{col 67}{space 3} .0045128
{txt}{space 6}DumwGR {c |}{col 14}{res}{space 2} .0013548{col 26}{space 2} .0027202{col 37}{space 1}    0.50{col 46}{space 3}0.619{col 54}{space 4}-.0039816{col 67}{space 3} .0066912
{txt}{space 6}DumwGT {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}DumwHK {c |}{col 14}{res}{space 2} .0000509{col 26}{space 2} .0028006{col 37}{space 1}    0.02{col 46}{space 3}0.985{col 54}{space 4}-.0054431{col 67}{space 3}  .005545
{txt}{space 6}DumwHU {c |}{col 14}{res}{space 2}-.0232403{col 26}{space 2}  .004995{col 37}{space 1}   -4.65{col 46}{space 3}0.000{col 54}{space 4}-.0330394{col 67}{space 3}-.0134412
{txt}{space 6}DumwID {c |}{col 14}{res}{space 2}-.0016668{col 26}{space 2} .0039184{col 37}{space 1}   -0.43{col 46}{space 3}0.671{col 54}{space 4}-.0093538{col 67}{space 3} .0060202
{txt}{space 6}DumwIE {c |}{col 14}{res}{space 2} .0013385{col 26}{space 2} .0026653{col 37}{space 1}    0.50{col 46}{space 3}0.616{col 54}{space 4}-.0038901{col 67}{space 3} .0065672
{txt}{space 6}DumwIL {c |}{col 14}{res}{space 2}-.0034187{col 26}{space 2} .0028596{col 37}{space 1}   -1.20{col 46}{space 3}0.232{col 54}{space 4}-.0090286{col 67}{space 3} .0021911
{txt}{space 6}DumwIN {c |}{col 14}{res}{space 2}-.0005186{col 26}{space 2} .0026212{col 37}{space 1}   -0.20{col 46}{space 3}0.843{col 54}{space 4}-.0056608{col 67}{space 3} .0046235
{txt}{space 6}DumwIS {c |}{col 14}{res}{space 2} .0006176{col 26}{space 2} .0033122{col 37}{space 1}    0.19{col 46}{space 3}0.852{col 54}{space 4}-.0058802{col 67}{space 3} .0071154
{txt}{space 6}DumwIT {c |}{col 14}{res}{space 2}-.0007084{col 26}{space 2}  .002626{col 37}{space 1}   -0.27{col 46}{space 3}0.787{col 54}{space 4}-.0058601{col 67}{space 3} .0044433
{txt}{space 6}DumwJP {c |}{col 14}{res}{space 2}-.0008684{col 26}{space 2} .0026859{col 37}{space 1}   -0.32{col 46}{space 3}0.747{col 54}{space 4}-.0061374{col 67}{space 3} .0044007
{txt}{space 6}DumwKE {c |}{col 14}{res}{space 2}-.0036447{col 26}{space 2}  .008672{col 37}{space 1}   -0.42{col 46}{space 3}0.674{col 54}{space 4}-.0206571{col 67}{space 3} .0133677
{txt}{space 6}DumwKR {c |}{col 14}{res}{space 2}-.0013889{col 26}{space 2} .0026341{col 37}{space 1}   -0.53{col 46}{space 3}0.598{col 54}{space 4}-.0065564{col 67}{space 3} .0037786
{txt}{space 6}DumwLK {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}DumwLU {c |}{col 14}{res}{space 2}-.0034706{col 26}{space 2}  .002895{col 37}{space 1}   -1.20{col 46}{space 3}0.231{col 54}{space 4}  -.00915{col 67}{space 3} .0022087
{txt}{space 6}DumwMA {c |}{col 14}{res}{space 2}-.0623018{col 26}{space 2} .0128925{col 37}{space 1}   -4.83{col 46}{space 3}0.000{col 54}{space 4}-.0875939{col 67}{space 3}-.0370097
{txt}{space 6}DumwMW {c |}{col 14}{res}{space 2}-.0048976{col 26}{space 2} .0078645{col 37}{space 1}   -0.62{col 46}{space 3}0.534{col 54}{space 4} -.020326{col 67}{space 3} .0105308
{txt}{space 6}DumwMX {c |}{col 14}{res}{space 2}-.0163326{col 26}{space 2} .0031227{col 37}{space 1}   -5.23{col 46}{space 3}0.000{col 54}{space 4}-.0224586{col 67}{space 3}-.0102065
{txt}{space 6}DumwMY {c |}{col 14}{res}{space 2}-.0015691{col 26}{space 2} .0029853{col 37}{space 1}   -0.53{col 46}{space 3}0.599{col 54}{space 4}-.0074255{col 67}{space 3} .0042874
{txt}{space 6}DumwNL {c |}{col 14}{res}{space 2} .0016418{col 26}{space 2} .0027183{col 37}{space 1}    0.60{col 46}{space 3}0.546{col 54}{space 4} -.003691{col 67}{space 3} .0069745
{txt}{space 6}DumwNO {c |}{col 14}{res}{space 2}  .000317{col 26}{space 2} .0026077{col 37}{space 1}    0.12{col 46}{space 3}0.903{col 54}{space 4}-.0047986{col 67}{space 3} .0054327
{txt}{space 6}DumwNZ {c |}{col 14}{res}{space 2} .0017558{col 26}{space 2} .0026283{col 37}{space 1}    0.67{col 46}{space 3}0.504{col 54}{space 4}-.0034003{col 67}{space 3} .0069119
{txt}{space 6}DumwPH {c |}{col 14}{res}{space 2}-.0007346{col 26}{space 2} .0028514{col 37}{space 1}   -0.26{col 46}{space 3}0.797{col 54}{space 4}-.0063283{col 67}{space 3} .0048592
{txt}{space 6}DumwPL {c |}{col 14}{res}{space 2}-.0144295{col 26}{space 2} .0047732{col 37}{space 1}   -3.02{col 46}{space 3}0.003{col 54}{space 4}-.0237935{col 67}{space 3}-.0050655
{txt}{space 6}DumwPT {c |}{col 14}{res}{space 2} .0008038{col 26}{space 2} .0028403{col 37}{space 1}    0.28{col 46}{space 3}0.777{col 54}{space 4}-.0047682{col 67}{space 3} .0063758
{txt}{space 6}DumwRO {c |}{col 14}{res}{space 2} -.050349{col 26}{space 2} .0102663{col 37}{space 1}   -4.90{col 46}{space 3}0.000{col 54}{space 4}-.0704892{col 67}{space 3}-.0302088
{txt}{space 6}DumwSE {c |}{col 14}{res}{space 2} -.001491{col 26}{space 2} .0026724{col 37}{space 1}   -0.56{col 46}{space 3}0.577{col 54}{space 4}-.0067337{col 67}{space 3} .0037518
{txt}{space 6}DumwSG {c |}{col 14}{res}{space 2}-.0010603{col 26}{space 2} .0028369{col 37}{space 1}   -0.37{col 46}{space 3}0.709{col 54}{space 4}-.0066256{col 67}{space 3}  .004505
{txt}{space 6}DumwTR {c |}{col 14}{res}{space 2} .0045826{col 26}{space 2}  .004202{col 37}{space 1}    1.09{col 46}{space 3}0.276{col 54}{space 4}-.0036608{col 67}{space 3}  .012826
{txt}{space 6}DumwTW {c |}{col 14}{res}{space 2} .0046296{col 26}{space 2} .0034478{col 37}{space 1}    1.34{col 46}{space 3}0.180{col 54}{space 4}-.0021343{col 67}{space 3} .0113935
{txt}{space 6}DumwUA {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}DumwUS {c |}{col 14}{res}{space 2}-.0040632{col 26}{space 2} .0027448{col 37}{space 1}   -1.48{col 46}{space 3}0.139{col 54}{space 4}-.0094478{col 67}{space 3} .0013214
{txt}{space 6}DumwVN {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}DumwZA {c |}{col 14}{res}{space 2}  -.00869{col 26}{space 2} .0031476{col 37}{space 1}   -2.76{col 46}{space 3}0.006{col 54}{space 4}-.0148649{col 67}{space 3} -.002515
{txt}{space 6}DumwZM {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}L8taut {c |}{col 14}{res}{space 2}  .913098{col 26}{space 2} .0241631{col 37}{space 1}   37.79{col 46}{space 3}0.000{col 54}{space 4} .8656955{col 67}{space 3} .9605006
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .0058269{col 26}{space 2} .0006851{col 37}{space 1}    8.50{col 46}{space 3}0.000{col 54}{space 4} .0044829{col 67}{space 3}  .007171
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .01815534
     {txt}sigma_e {c |} {res} .01357946
         {txt}rho {c |} {res} .64125423{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
{res}
{txt}Fixed-effects (within) IV regression{col 49}Number of obs{col 67}={col 69}{res}    41,058
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,315

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0454{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0278{col 63}{txt}avg{col 67}={col 69}{res}      31.2
{txt}     overall = {res}0.0547{col 63}{txt}max{col 67}={col 69}{res}     1,573


{txt}{col 49}Wald chi2({res}50{txt}){col 67}={col 70}{res}  3132.86
{txt}corr(u_i, Xb){col 16}= {res}0.0283{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:1,315} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       L8lnP{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}L8tautApp {c |}{col 14}{res}{space 2}-1.878743{col 26}{space 2} .4220164{col 37}{space 1}   -4.45{col 46}{space 3}0.000{col 54}{space 4} -2.70588{col 67}{space 3}-1.051606
{txt}{space 8}ncty {c |}{col 14}{res}{space 2} -.005757{col 26}{space 2} .0816533{col 37}{space 1}   -0.07{col 46}{space 3}0.944{col 54}{space 4}-.1657945{col 67}{space 3} .1542805
{txt}{space 7}lnP85 {c |}{col 14}{res}{space 2} -.032892{col 26}{space 2}  .006901{col 37}{space 1}   -4.77{col 46}{space 3}0.000{col 54}{space 4}-.0464178{col 67}{space 3}-.0193662
{txt}{space 6}Dumwto {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}DumwAR {c |}{col 14}{res}{space 2} .0081691{col 26}{space 2} .0811619{col 37}{space 1}    0.10{col 46}{space 3}0.920{col 54}{space 4}-.1509052{col 67}{space 3} .1672435
{txt}{space 6}DumwAT {c |}{col 14}{res}{space 2}-.0559235{col 26}{space 2} .0821232{col 37}{space 1}   -0.68{col 46}{space 3}0.496{col 54}{space 4} -.216882{col 67}{space 3}  .105035
{txt}{space 6}DumwAU {c |}{col 14}{res}{space 2} .0161611{col 26}{space 2} .0817848{col 37}{space 1}    0.20{col 46}{space 3}0.843{col 54}{space 4}-.1441342{col 67}{space 3} .1764563
{txt}{space 6}DumwBE {c |}{col 14}{res}{space 2}-.0267699{col 26}{space 2} .0829799{col 37}{space 1}   -0.32{col 46}{space 3}0.747{col 54}{space 4}-.1894075{col 67}{space 3} .1358678
{txt}{space 6}DumwBR {c |}{col 14}{res}{space 2} .0090908{col 26}{space 2} .0832812{col 37}{space 1}    0.11{col 46}{space 3}0.913{col 54}{space 4}-.1541373{col 67}{space 3} .1723188
{txt}{space 6}DumwCA {c |}{col 14}{res}{space 2}-.0418492{col 26}{space 2} .0827997{col 37}{space 1}   -0.51{col 46}{space 3}0.613{col 54}{space 4}-.2041337{col 67}{space 3} .1204353
{txt}{space 6}DumwCN {c |}{col 14}{res}{space 2} .4191285{col 26}{space 2}  .103168{col 37}{space 1}    4.06{col 46}{space 3}0.000{col 54}{space 4} .2169228{col 67}{space 3} .6213341
{txt}{space 6}DumwCO {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}DumwCS {c |}{col 14}{res}{space 2}-.1527093{col 26}{space 2}  .086046{col 37}{space 1}   -1.77{col 46}{space 3}0.076{col 54}{space 4}-.3213562{col 67}{space 3} .0159377
{txt}{space 6}DumwCU {c |}{col 14}{res}{space 2}-.1868038{col 26}{space 2} .1531907{col 37}{space 1}   -1.22{col 46}{space 3}0.223{col 54}{space 4}-.4870521{col 67}{space 3} .1134445
{txt}{space 6}DumwDE {c |}{col 14}{res}{space 2}-.0111897{col 26}{space 2} .0810638{col 37}{space 1}   -0.14{col 46}{space 3}0.890{col 54}{space 4}-.1700719{col 67}{space 3} .1476926
{txt}{space 6}DumwDK {c |}{col 14}{res}{space 2}  .040012{col 26}{space 2} .0829938{col 37}{space 1}    0.48{col 46}{space 3}0.630{col 54}{space 4}-.1226529{col 67}{space 3} .2026769
{txt}{space 6}DumwDZ {c |}{col 14}{res}{space 2} -.143227{col 26}{space 2} .2111969{col 37}{space 1}   -0.68{col 46}{space 3}0.498{col 54}{space 4}-.5571653{col 67}{space 3} .2707114
{txt}{space 6}DumwEG {c |}{col 14}{res}{space 2}-.0362572{col 26}{space 2} .1028906{col 37}{space 1}   -0.35{col 46}{space 3}0.725{col 54}{space 4} -.237919{col 67}{space 3} .1654047
{txt}{space 6}DumwEP {c |}{col 14}{res}{space 2} .0745441{col 26}{space 2} .0831414{col 37}{space 1}    0.90{col 46}{space 3}0.370{col 54}{space 4}-.0884101{col 67}{space 3} .2374982
{txt}{space 6}DumwES {c |}{col 14}{res}{space 2}-.0139212{col 26}{space 2} .0815643{col 37}{space 1}   -0.17{col 46}{space 3}0.864{col 54}{space 4}-.1737843{col 67}{space 3} .1459418
{txt}{space 6}DumwFI {c |}{col 14}{res}{space 2} .1297169{col 26}{space 2} .0822484{col 37}{space 1}    1.58{col 46}{space 3}0.115{col 54}{space 4} -.031487{col 67}{space 3} .2909209
{txt}{space 6}DumwFR {c |}{col 14}{res}{space 2}-.0564248{col 26}{space 2} .0820593{col 37}{space 1}   -0.69{col 46}{space 3}0.492{col 54}{space 4}-.2172582{col 67}{space 3} .1044086
{txt}{space 6}DumwGB {c |}{col 14}{res}{space 2} .0666027{col 26}{space 2} .0821722{col 37}{space 1}    0.81{col 46}{space 3}0.418{col 54}{space 4}-.0944518{col 67}{space 3} .2276572
{txt}{space 6}DumwGR {c |}{col 14}{res}{space 2}-.0095815{col 26}{space 2} .0841664{col 37}{space 1}   -0.11{col 46}{space 3}0.909{col 54}{space 4}-.1745446{col 67}{space 3} .1553817
{txt}{space 6}DumwGT {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}DumwHK {c |}{col 14}{res}{space 2}-.0120307{col 26}{space 2} .0902477{col 37}{space 1}   -0.13{col 46}{space 3}0.894{col 54}{space 4}-.1889128{col 67}{space 3} .1648515
{txt}{space 6}DumwHU {c |}{col 14}{res}{space 2}-.1418803{col 26}{space 2} .0852526{col 37}{space 1}   -1.66{col 46}{space 3}0.096{col 54}{space 4}-.3089723{col 67}{space 3} .0252116
{txt}{space 6}DumwID {c |}{col 14}{res}{space 2} .2369579{col 26}{space 2} .0948758{col 37}{space 1}    2.50{col 46}{space 3}0.013{col 54}{space 4} .0510047{col 67}{space 3} .4229111
{txt}{space 6}DumwIE {c |}{col 14}{res}{space 2} .0182426{col 26}{space 2} .0819352{col 37}{space 1}    0.22{col 46}{space 3}0.824{col 54}{space 4}-.1423475{col 67}{space 3} .1788327
{txt}{space 6}DumwIL {c |}{col 14}{res}{space 2}  .003507{col 26}{space 2} .0854017{col 37}{space 1}    0.04{col 46}{space 3}0.967{col 54}{space 4}-.1638772{col 67}{space 3} .1708912
{txt}{space 6}DumwIN {c |}{col 14}{res}{space 2}-.0462325{col 26}{space 2} .0835871{col 37}{space 1}   -0.55{col 46}{space 3}0.580{col 54}{space 4}-.2100602{col 67}{space 3} .1175951
{txt}{space 6}DumwIS {c |}{col 14}{res}{space 2}-.0114651{col 26}{space 2} .1066148{col 37}{space 1}   -0.11{col 46}{space 3}0.914{col 54}{space 4}-.2204262{col 67}{space 3}  .197496
{txt}{space 6}DumwIT {c |}{col 14}{res}{space 2}-.0063668{col 26}{space 2} .0824158{col 37}{space 1}   -0.08{col 46}{space 3}0.938{col 54}{space 4}-.1678987{col 67}{space 3} .1551651
{txt}{space 6}DumwJP {c |}{col 14}{res}{space 2} .1627382{col 26}{space 2} .0829968{col 37}{space 1}    1.96{col 46}{space 3}0.050{col 54}{space 4} .0000676{col 67}{space 3} .3254089
{txt}{space 6}DumwKE {c |}{col 14}{res}{space 2} .0200602{col 26}{space 2}  .103975{col 37}{space 1}    0.19{col 46}{space 3}0.847{col 54}{space 4} -.183727{col 67}{space 3} .2238474
{txt}{space 6}DumwKR {c |}{col 14}{res}{space 2} .0370628{col 26}{space 2} .0821723{col 37}{space 1}    0.45{col 46}{space 3}0.652{col 54}{space 4}-.1239921{col 67}{space 3} .1981176
{txt}{space 6}DumwLK {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}DumwLU {c |}{col 14}{res}{space 2} .0284879{col 26}{space 2} .0896079{col 37}{space 1}    0.32{col 46}{space 3}0.751{col 54}{space 4}-.1471404{col 67}{space 3} .2041163
{txt}{space 6}DumwMA {c |}{col 14}{res}{space 2}-.2201369{col 26}{space 2} .1236997{col 37}{space 1}   -1.78{col 46}{space 3}0.075{col 54}{space 4}-.4625839{col 67}{space 3}   .02231
{txt}{space 6}DumwMW {c |}{col 14}{res}{space 2}-.3548552{col 26}{space 2} .1960965{col 37}{space 1}   -1.81{col 46}{space 3}0.070{col 54}{space 4}-.7391973{col 67}{space 3} .0294868
{txt}{space 6}DumwMX {c |}{col 14}{res}{space 2} -.019477{col 26}{space 2} .0814866{col 37}{space 1}   -0.24{col 46}{space 3}0.811{col 54}{space 4}-.1791878{col 67}{space 3} .1402339
{txt}{space 6}DumwMY {c |}{col 14}{res}{space 2}-.0550079{col 26}{space 2} .0934952{col 37}{space 1}   -0.59{col 46}{space 3}0.556{col 54}{space 4}-.2382551{col 67}{space 3} .1282394
{txt}{space 6}DumwNL {c |}{col 14}{res}{space 2} .1966057{col 26}{space 2} .0899384{col 37}{space 1}    2.19{col 46}{space 3}0.029{col 54}{space 4} .0203296{col 67}{space 3} .3728819
{txt}{space 6}DumwNO {c |}{col 14}{res}{space 2}-.0751867{col 26}{space 2} .0842404{col 37}{space 1}   -0.89{col 46}{space 3}0.372{col 54}{space 4}-.2402949{col 67}{space 3} .0899215
{txt}{space 6}DumwNZ {c |}{col 14}{res}{space 2}-.0185714{col 26}{space 2} .0810717{col 37}{space 1}   -0.23{col 46}{space 3}0.819{col 54}{space 4}-.1774689{col 67}{space 3} .1403262
{txt}{space 6}DumwPH {c |}{col 14}{res}{space 2}-.0412033{col 26}{space 2} .0885866{col 37}{space 1}   -0.47{col 46}{space 3}0.642{col 54}{space 4}  -.21483{col 67}{space 3} .1324233
{txt}{space 6}DumwPL {c |}{col 14}{res}{space 2}-.1845267{col 26}{space 2} .0873701{col 37}{space 1}   -2.11{col 46}{space 3}0.035{col 54}{space 4}-.3557689{col 67}{space 3}-.0132845
{txt}{space 6}DumwPT {c |}{col 14}{res}{space 2} .0197201{col 26}{space 2} .0863374{col 37}{space 1}    0.23{col 46}{space 3}0.819{col 54}{space 4} -.149498{col 67}{space 3} .1889383
{txt}{space 6}DumwRO {c |}{col 14}{res}{space 2}-.1955891{col 26}{space 2} .0885094{col 37}{space 1}   -2.21{col 46}{space 3}0.027{col 54}{space 4}-.3690644{col 67}{space 3}-.0221138
{txt}{space 6}DumwSE {c |}{col 14}{res}{space 2} .0191629{col 26}{space 2}  .082437{col 37}{space 1}    0.23{col 46}{space 3}0.816{col 54}{space 4}-.1424107{col 67}{space 3} .1807364
{txt}{space 6}DumwSG {c |}{col 14}{res}{space 2} .0069806{col 26}{space 2} .1005503{col 37}{space 1}    0.07{col 46}{space 3}0.945{col 54}{space 4}-.1900944{col 67}{space 3} .2040556
{txt}{space 6}DumwTR {c |}{col 14}{res}{space 2}-.0272607{col 26}{space 2} .0927387{col 37}{space 1}   -0.29{col 46}{space 3}0.769{col 54}{space 4}-.2090253{col 67}{space 3} .1545038
{txt}{space 6}DumwTW {c |}{col 14}{res}{space 2}-.1639954{col 26}{space 2} .0864173{col 37}{space 1}   -1.90{col 46}{space 3}0.058{col 54}{space 4}-.3333703{col 67}{space 3} .0053795
{txt}{space 6}DumwUA {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}DumwUS {c |}{col 14}{res}{space 2}-.0571893{col 26}{space 2} .0820754{col 37}{space 1}   -0.70{col 46}{space 3}0.486{col 54}{space 4}-.2180541{col 67}{space 3} .1036755
{txt}{space 6}DumwVN {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}DumwZA {c |}{col 14}{res}{space 2}-.0620709{col 26}{space 2} .0824977{col 37}{space 1}   -0.75{col 46}{space 3}0.452{col 54}{space 4}-.2237634{col 67}{space 3} .0996215
{txt}{space 6}DumwZM {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}_cons {c |}{col 14}{res}{space 2}  .458204{col 26}{space 2}  .009096{col 37}{space 1}   50.37{col 46}{space 3}0.000{col 54}{space 4} .4403761{col 67}{space 3} .4760318
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .30424413
     {txt}sigma_e {c |} {res} .49441523
         {txt}rho {c |} {res} .27466318{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
{p 0 16 86}Instrumented:{space 3}L8tautApp{p_end}
{p 0 16 86}Instruments:{space 4}ncty lnP85 DumwAR DumwAT DumwAU DumwBE DumwBR DumwCA DumwCN DumwCS DumwCU DumwDE DumwDK DumwDZ DumwEG DumwEP DumwES DumwFI DumwFR DumwGB DumwGR DumwHK DumwHU DumwID DumwIE DumwIL DumwIN DumwIS DumwIT DumwJP DumwKE DumwKR DumwLK DumwLU DumwMA DumwMW DumwMX DumwMY DumwNL DumwNO DumwNZ DumwPH DumwPL DumwPT DumwRO DumwSE DumwSG DumwTR DumwTW DumwUS DumwZA L8taut{p_end}
{hline 78}

{com}. xtivreg $yy ncty lnP85 Dumw?? (L8tautApp = L8taut) if y==2000 & $iff, fe i(id) first    
{txt}note: Dumwto omitted because of collinearity
note: DumwCO omitted because of collinearity
note: DumwGT omitted because of collinearity
note: DumwUA omitted because of collinearity
note: DumwVN omitted because of collinearity
note: DumwZM omitted because of collinearity

First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    41,058
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,315

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.7226{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.7119{col 63}{txt}avg{col 67}={col 69}{res}      31.2
{txt}     overall = {res}0.7110{col 63}{txt}max{col 67}={col 69}{res}     1,573

{txt}{col 49}F({res}51{txt},{res}39692{txt}){col 67}={col 70}{res}  2026.84
{txt}corr(u_i, Xb){col 16}= {res}-0.1163{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}   L8tautApp{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}ncty {c |}{col 14}{res}{space 2}  .000688{col 26}{space 2} .0027709{col 37}{space 1}    0.25{col 46}{space 3}0.804{col 54}{space 4}-.0047431{col 67}{space 3}  .006119
{txt}{space 7}lnP85 {c |}{col 14}{res}{space 2} -.000134{col 26}{space 2} .0000782{col 37}{space 1}   -1.71{col 46}{space 3}0.087{col 54}{space 4}-.0002873{col 67}{space 3} .0000194
{txt}{space 6}Dumwto {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}DumwAR {c |}{col 14}{res}{space 2} .0008518{col 26}{space 2} .0028236{col 37}{space 1}    0.30{col 46}{space 3}0.763{col 54}{space 4}-.0046825{col 67}{space 3} .0063861
{txt}{space 6}DumwAT {c |}{col 14}{res}{space 2}  .003095{col 26}{space 2} .0027791{col 37}{space 1}    1.11{col 46}{space 3}0.265{col 54}{space 4}-.0023521{col 67}{space 3} .0085422
{txt}{space 6}DumwAU {c |}{col 14}{res}{space 2}-.0030873{col 26}{space 2} .0027845{col 37}{space 1}   -1.11{col 46}{space 3}0.268{col 54}{space 4} -.008545{col 67}{space 3} .0023704
{txt}{space 6}DumwBE {c |}{col 14}{res}{space 2} .0008244{col 26}{space 2}  .002792{col 37}{space 1}    0.30{col 46}{space 3}0.768{col 54}{space 4}-.0046481{col 67}{space 3} .0062969
{txt}{space 6}DumwBR {c |}{col 14}{res}{space 2}-.0016982{col 26}{space 2} .0027939{col 37}{space 1}   -0.61{col 46}{space 3}0.543{col 54}{space 4}-.0071743{col 67}{space 3} .0037779
{txt}{space 6}DumwCA {c |}{col 14}{res}{space 2} .0066207{col 26}{space 2}  .002777{col 37}{space 1}    2.38{col 46}{space 3}0.017{col 54}{space 4} .0011777{col 67}{space 3} .0120637
{txt}{space 6}DumwCN {c |}{col 14}{res}{space 2}-.0099486{col 26}{space 2} .0028856{col 37}{space 1}   -3.45{col 46}{space 3}0.001{col 54}{space 4}-.0156043{col 67}{space 3}-.0042928
{txt}{space 6}DumwCO {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}DumwCS {c |}{col 14}{res}{space 2} .0006098{col 26}{space 2} .0028367{col 37}{space 1}    0.21{col 46}{space 3}0.830{col 54}{space 4}-.0049502{col 67}{space 3} .0061697
{txt}{space 6}DumwCU {c |}{col 14}{res}{space 2} .0038252{col 26}{space 2} .0057787{col 37}{space 1}    0.66{col 46}{space 3}0.508{col 54}{space 4}-.0075012{col 67}{space 3} .0151516
{txt}{space 6}DumwDE {c |}{col 14}{res}{space 2} 4.57e-06{col 26}{space 2} .0027752{col 37}{space 1}    0.00{col 46}{space 3}0.999{col 54}{space 4} -.005435{col 67}{space 3} .0054441
{txt}{space 6}DumwDK {c |}{col 14}{res}{space 2} .0010533{col 26}{space 2} .0027979{col 37}{space 1}    0.38{col 46}{space 3}0.707{col 54}{space 4}-.0044306{col 67}{space 3} .0065372
{txt}{space 6}DumwDZ {c |}{col 14}{res}{space 2} .0132248{col 26}{space 2}  .007393{col 37}{space 1}    1.79{col 46}{space 3}0.074{col 54}{space 4}-.0012657{col 67}{space 3} .0277153
{txt}{space 6}DumwEG {c |}{col 14}{res}{space 2}-.0035867{col 26}{space 2} .0032176{col 37}{space 1}   -1.11{col 46}{space 3}0.265{col 54}{space 4}-.0098932{col 67}{space 3} .0027198
{txt}{space 6}DumwEP {c |}{col 14}{res}{space 2}-.0013314{col 26}{space 2} .0027789{col 37}{space 1}   -0.48{col 46}{space 3}0.632{col 54}{space 4}-.0067782{col 67}{space 3} .0041154
{txt}{space 6}DumwES {c |}{col 14}{res}{space 2} .0018025{col 26}{space 2} .0027806{col 37}{space 1}    0.65{col 46}{space 3}0.517{col 54}{space 4}-.0036475{col 67}{space 3} .0072526
{txt}{space 6}DumwFI {c |}{col 14}{res}{space 2} .0000345{col 26}{space 2} .0027994{col 37}{space 1}    0.01{col 46}{space 3}0.990{col 54}{space 4}-.0054525{col 67}{space 3} .0055214
{txt}{space 6}DumwFR {c |}{col 14}{res}{space 2}-.0012461{col 26}{space 2} .0027783{col 37}{space 1}   -0.45{col 46}{space 3}0.654{col 54}{space 4}-.0066915{col 67}{space 3} .0041994
{txt}{space 6}DumwGB {c |}{col 14}{res}{space 2} -.000494{col 26}{space 2} .0027778{col 37}{space 1}   -0.18{col 46}{space 3}0.859{col 54}{space 4}-.0059386{col 67}{space 3} .0049506
{txt}{space 6}DumwGR {c |}{col 14}{res}{space 2} .0013548{col 26}{space 2} .0028482{col 37}{space 1}    0.48{col 46}{space 3}0.634{col 54}{space 4}-.0042276{col 67}{space 3} .0069372
{txt}{space 6}DumwGT {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}DumwHK {c |}{col 14}{res}{space 2} .0000509{col 26}{space 2} .0029427{col 37}{space 1}    0.02{col 46}{space 3}0.986{col 54}{space 4}-.0057168{col 67}{space 3} .0058187
{txt}{space 6}DumwHU {c |}{col 14}{res}{space 2}-.0232403{col 26}{space 2} .0028995{col 37}{space 1}   -8.02{col 46}{space 3}0.000{col 54}{space 4}-.0289234{col 67}{space 3}-.0175573
{txt}{space 6}DumwID {c |}{col 14}{res}{space 2}-.0016668{col 26}{space 2} .0102135{col 37}{space 1}   -0.16{col 46}{space 3}0.870{col 54}{space 4}-.0216854{col 67}{space 3} .0183518
{txt}{space 6}DumwIE {c |}{col 14}{res}{space 2} .0013385{col 26}{space 2} .0028211{col 37}{space 1}    0.47{col 46}{space 3}0.635{col 54}{space 4}-.0041908{col 67}{space 3} .0068679
{txt}{space 6}DumwIL {c |}{col 14}{res}{space 2}-.0034187{col 26}{space 2} .0028154{col 37}{space 1}   -1.21{col 46}{space 3}0.225{col 54}{space 4}-.0089369{col 67}{space 3} .0020994
{txt}{space 6}DumwIN {c |}{col 14}{res}{space 2}-.0005186{col 26}{space 2} .0028648{col 37}{space 1}   -0.18{col 46}{space 3}0.856{col 54}{space 4}-.0061336{col 67}{space 3} .0050964
{txt}{space 6}DumwIS {c |}{col 14}{res}{space 2} .0006176{col 26}{space 2} .0035245{col 37}{space 1}    0.18{col 46}{space 3}0.861{col 54}{space 4}-.0062905{col 67}{space 3} .0075256
{txt}{space 6}DumwIT {c |}{col 14}{res}{space 2}-.0007084{col 26}{space 2} .0027774{col 37}{space 1}   -0.26{col 46}{space 3}0.799{col 54}{space 4}-.0061522{col 67}{space 3} .0047353
{txt}{space 6}DumwJP {c |}{col 14}{res}{space 2}-.0008684{col 26}{space 2} .0027844{col 37}{space 1}   -0.31{col 46}{space 3}0.755{col 54}{space 4}-.0063259{col 67}{space 3} .0045892
{txt}{space 6}DumwKE {c |}{col 14}{res}{space 2}-.0036447{col 26}{space 2} .0066167{col 37}{space 1}   -0.55{col 46}{space 3}0.582{col 54}{space 4}-.0166136{col 67}{space 3} .0093242
{txt}{space 6}DumwKR {c |}{col 14}{res}{space 2}-.0013889{col 26}{space 2} .0027929{col 37}{space 1}   -0.50{col 46}{space 3}0.619{col 54}{space 4}-.0068631{col 67}{space 3} .0040852
{txt}{space 6}DumwLK {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}DumwLU {c |}{col 14}{res}{space 2}-.0034706{col 26}{space 2} .0029709{col 37}{space 1}   -1.17{col 46}{space 3}0.243{col 54}{space 4}-.0092936{col 67}{space 3} .0023524
{txt}{space 6}DumwMA {c |}{col 14}{res}{space 2}-.0623018{col 26}{space 2} .0032996{col 37}{space 1}  -18.88{col 46}{space 3}0.000{col 54}{space 4}-.0687691{col 67}{space 3}-.0558345
{txt}{space 6}DumwMW {c |}{col 14}{res}{space 2}-.0048976{col 26}{space 2} .0088722{col 37}{space 1}   -0.55{col 46}{space 3}0.581{col 54}{space 4}-.0222873{col 67}{space 3} .0124921
{txt}{space 6}DumwMX {c |}{col 14}{res}{space 2}-.0163326{col 26}{space 2} .0028127{col 37}{space 1}   -5.81{col 46}{space 3}0.000{col 54}{space 4}-.0218456{col 67}{space 3}-.0108195
{txt}{space 6}DumwMY {c |}{col 14}{res}{space 2}-.0015691{col 26}{space 2} .0030901{col 37}{space 1}   -0.51{col 46}{space 3}0.612{col 54}{space 4}-.0076257{col 67}{space 3} .0044875
{txt}{space 6}DumwNL {c |}{col 14}{res}{space 2} .0016418{col 26}{space 2} .0028841{col 37}{space 1}    0.57{col 46}{space 3}0.569{col 54}{space 4}-.0040112{col 67}{space 3} .0072947
{txt}{space 6}DumwNO {c |}{col 14}{res}{space 2}  .000317{col 26}{space 2} .0028045{col 37}{space 1}    0.11{col 46}{space 3}0.910{col 54}{space 4}-.0051799{col 67}{space 3} .0058139
{txt}{space 6}DumwNZ {c |}{col 14}{res}{space 2} .0017558{col 26}{space 2} .0028429{col 37}{space 1}    0.62{col 46}{space 3}0.537{col 54}{space 4}-.0038164{col 67}{space 3}  .007328
{txt}{space 6}DumwPH {c |}{col 14}{res}{space 2}-.0007346{col 26}{space 2} .0029226{col 37}{space 1}   -0.25{col 46}{space 3}0.802{col 54}{space 4}-.0064628{col 67}{space 3} .0049937
{txt}{space 6}DumwPL {c |}{col 14}{res}{space 2}-.0144295{col 26}{space 2} .0030401{col 37}{space 1}   -4.75{col 46}{space 3}0.000{col 54}{space 4}-.0203881{col 67}{space 3}-.0084709
{txt}{space 6}DumwPT {c |}{col 14}{res}{space 2} .0008038{col 26}{space 2} .0028625{col 37}{space 1}    0.28{col 46}{space 3}0.779{col 54}{space 4}-.0048068{col 67}{space 3} .0064143
{txt}{space 6}DumwRO {c |}{col 14}{res}{space 2} -.050349{col 26}{space 2} .0029696{col 37}{space 1}  -16.95{col 46}{space 3}0.000{col 54}{space 4}-.0561695{col 67}{space 3}-.0445285
{txt}{space 6}DumwSE {c |}{col 14}{res}{space 2} -.001491{col 26}{space 2} .0027914{col 37}{space 1}   -0.53{col 46}{space 3}0.593{col 54}{space 4}-.0069621{col 67}{space 3} .0039801
{txt}{space 6}DumwSG {c |}{col 14}{res}{space 2}-.0010603{col 26}{space 2} .0031317{col 37}{space 1}   -0.34{col 46}{space 3}0.735{col 54}{space 4}-.0071984{col 67}{space 3} .0050779
{txt}{space 6}DumwTR {c |}{col 14}{res}{space 2} .0045826{col 26}{space 2} .0032618{col 37}{space 1}    1.40{col 46}{space 3}0.160{col 54}{space 4}-.0018107{col 67}{space 3} .0109759
{txt}{space 6}DumwTW {c |}{col 14}{res}{space 2} .0046296{col 26}{space 2}  .013883{col 37}{space 1}    0.33{col 46}{space 3}0.739{col 54}{space 4}-.0225814{col 67}{space 3} .0318407
{txt}{space 6}DumwUA {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}DumwUS {c |}{col 14}{res}{space 2}-.0040632{col 26}{space 2} .0027756{col 37}{space 1}   -1.46{col 46}{space 3}0.143{col 54}{space 4}-.0095035{col 67}{space 3} .0013771
{txt}{space 6}DumwVN {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}DumwZA {c |}{col 14}{res}{space 2}  -.00869{col 26}{space 2} .0028061{col 37}{space 1}   -3.10{col 46}{space 3}0.002{col 54}{space 4}  -.01419{col 67}{space 3}-.0031899
{txt}{space 6}DumwZM {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}L8taut {c |}{col 14}{res}{space 2}  .913098{col 26}{space 2} .0037427{col 37}{space 1}  243.97{col 46}{space 3}0.000{col 54}{space 4} .9057623{col 67}{space 3} .9204337
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .0058269{col 26}{space 2}  .000164{col 37}{space 1}   35.52{col 46}{space 3}0.000{col 54}{space 4} .0055054{col 67}{space 3} .0061484
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .01815534
     {txt}sigma_e {c |} {res} .01357946
         {txt}rho {c |} {res} .64125423{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
F test that all u_i=0: F({res}1314{txt}, {res}39692{txt}) = {res}7.89{col 62}{txt}Prob > F = {res}0.0000

{txt}Fixed-effects (within) IV regression{col 49}Number of obs{col 67}={col 69}{res}    41,058
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,315

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0454{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0278{col 63}{txt}avg{col 67}={col 69}{res}      31.2
{txt}     overall = {res}0.0547{col 63}{txt}max{col 67}={col 69}{res}     1,573

{txt}{col 49}Wald chi2({res}51{txt}){col 67}={col 70}{res} 30701.51
{txt}corr(u_i, Xb){col 16}= {res}0.0283{txt}{col 49}Prob > chi2{col 67}={col 73}{res}0.0000

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       L8lnP{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}L8tautApp {c |}{col 14}{res}{space 2}-1.878743{col 26}{space 2} .1492356{col 37}{space 1}  -12.59{col 46}{space 3}0.000{col 54}{space 4}-2.171239{col 67}{space 3}-1.586246
{txt}{space 8}ncty {c |}{col 14}{res}{space 2} -.005757{col 26}{space 2} .1008834{col 37}{space 1}   -0.06{col 46}{space 3}0.954{col 54}{space 4}-.2034848{col 67}{space 3} .1919709
{txt}{space 7}lnP85 {c |}{col 14}{res}{space 2} -.032892{col 26}{space 2} .0028447{col 37}{space 1}  -11.56{col 46}{space 3}0.000{col 54}{space 4}-.0384675{col 67}{space 3}-.0273165
{txt}{space 6}Dumwto {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}DumwAR {c |}{col 14}{res}{space 2} .0081691{col 26}{space 2} .1028103{col 37}{space 1}    0.08{col 46}{space 3}0.937{col 54}{space 4}-.1933354{col 67}{space 3} .2096737
{txt}{space 6}DumwAT {c |}{col 14}{res}{space 2}-.0559235{col 26}{space 2} .1011973{col 37}{space 1}   -0.55{col 46}{space 3}0.581{col 54}{space 4}-.2542666{col 67}{space 3} .1424196
{txt}{space 6}DumwAU {c |}{col 14}{res}{space 2} .0161611{col 26}{space 2} .1013728{col 37}{space 1}    0.16{col 46}{space 3}0.873{col 54}{space 4} -.182526{col 67}{space 3} .2148482
{txt}{space 6}DumwBE {c |}{col 14}{res}{space 2}-.0267699{col 26}{space 2} .1016591{col 37}{space 1}   -0.26{col 46}{space 3}0.792{col 54}{space 4} -.226018{col 67}{space 3} .1724783
{txt}{space 6}DumwBR {c |}{col 14}{res}{space 2} .0090908{col 26}{space 2} .1017198{col 37}{space 1}    0.09{col 46}{space 3}0.929{col 54}{space 4}-.1902764{col 67}{space 3} .2084579
{txt}{space 6}DumwCA {c |}{col 14}{res}{space 2}-.0418492{col 26}{space 2} .1011361{col 37}{space 1}   -0.41{col 46}{space 3}0.679{col 54}{space 4}-.2400723{col 67}{space 3} .1563739
{txt}{space 6}DumwCN {c |}{col 14}{res}{space 2} .4191285{col 26}{space 2} .1051972{col 37}{space 1}    3.98{col 46}{space 3}0.000{col 54}{space 4} .2129458{col 67}{space 3} .6253111
{txt}{space 6}DumwCO {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}DumwCS {c |}{col 14}{res}{space 2}-.1527093{col 26}{space 2}  .103289{col 37}{space 1}   -1.48{col 46}{space 3}0.139{col 54}{space 4}-.3551519{col 67}{space 3} .0497334
{txt}{space 6}DumwCU {c |}{col 14}{res}{space 2}-.1868038{col 26}{space 2} .2104086{col 37}{space 1}   -0.89{col 46}{space 3}0.375{col 54}{space 4}-.5991971{col 67}{space 3} .2255895
{txt}{space 6}DumwDE {c |}{col 14}{res}{space 2}-.0111897{col 26}{space 2} .1010437{col 37}{space 1}   -0.11{col 46}{space 3}0.912{col 54}{space 4}-.2092316{col 67}{space 3} .1868523
{txt}{space 6}DumwDK {c |}{col 14}{res}{space 2}  .040012{col 26}{space 2} .1018717{col 37}{space 1}    0.39{col 46}{space 3}0.694{col 54}{space 4}-.1596528{col 67}{space 3} .2396768
{txt}{space 6}DumwDZ {c |}{col 14}{res}{space 2} -.143227{col 26}{space 2} .2692215{col 37}{space 1}   -0.53{col 46}{space 3}0.595{col 54}{space 4}-.6708913{col 67}{space 3} .3844374
{txt}{space 6}DumwEG {c |}{col 14}{res}{space 2}-.0362572{col 26}{space 2} .1171526{col 37}{space 1}   -0.31{col 46}{space 3}0.757{col 54}{space 4}-.2658721{col 67}{space 3} .1933578
{txt}{space 6}DumwEP {c |}{col 14}{res}{space 2} .0745441{col 26}{space 2} .1011723{col 37}{space 1}    0.74{col 46}{space 3}0.461{col 54}{space 4}  -.12375{col 67}{space 3} .2728381
{txt}{space 6}DumwES {c |}{col 14}{res}{space 2}-.0139212{col 26}{space 2} .1012477{col 37}{space 1}   -0.14{col 46}{space 3}0.891{col 54}{space 4} -.212363{col 67}{space 3} .1845205
{txt}{space 6}DumwFI {c |}{col 14}{res}{space 2} .1297169{col 26}{space 2} .1019246{col 37}{space 1}    1.27{col 46}{space 3}0.203{col 54}{space 4}-.0700516{col 67}{space 3} .3294855
{txt}{space 6}DumwFR {c |}{col 14}{res}{space 2}-.0564248{col 26}{space 2} .1011481{col 37}{space 1}   -0.56{col 46}{space 3}0.577{col 54}{space 4}-.2546715{col 67}{space 3} .1418219
{txt}{space 6}DumwGB {c |}{col 14}{res}{space 2} .0666027{col 26}{space 2} .1011363{col 37}{space 1}    0.66{col 46}{space 3}0.510{col 54}{space 4}-.1316209{col 67}{space 3} .2648263
{txt}{space 6}DumwGR {c |}{col 14}{res}{space 2}-.0095815{col 26}{space 2} .1037049{col 37}{space 1}   -0.09{col 46}{space 3}0.926{col 54}{space 4}-.2128394{col 67}{space 3} .1936765
{txt}{space 6}DumwGT {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}DumwHK {c |}{col 14}{res}{space 2}-.0120307{col 26}{space 2} .1071407{col 37}{space 1}   -0.11{col 46}{space 3}0.911{col 54}{space 4}-.2220225{col 67}{space 3} .1979612
{txt}{space 6}DumwHU {c |}{col 14}{res}{space 2}-.1418803{col 26}{space 2} .1055504{col 37}{space 1}   -1.34{col 46}{space 3}0.179{col 54}{space 4}-.3487553{col 67}{space 3} .0649947
{txt}{space 6}DumwID {c |}{col 14}{res}{space 2} .2369579{col 26}{space 2} .3718566{col 37}{space 1}    0.64{col 46}{space 3}0.524{col 54}{space 4}-.4918676{col 67}{space 3} .9657834
{txt}{space 6}DumwIE {c |}{col 14}{res}{space 2} .0182426{col 26}{space 2} .1027187{col 37}{space 1}    0.18{col 46}{space 3}0.859{col 54}{space 4}-.1830824{col 67}{space 3} .2195675
{txt}{space 6}DumwIL {c |}{col 14}{res}{space 2}  .003507{col 26}{space 2} .1024883{col 37}{space 1}    0.03{col 46}{space 3}0.973{col 54}{space 4}-.1973664{col 67}{space 3} .2043804
{txt}{space 6}DumwIN {c |}{col 14}{res}{space 2}-.0462325{col 26}{space 2} .1043031{col 37}{space 1}   -0.44{col 46}{space 3}0.658{col 54}{space 4}-.2506628{col 67}{space 3} .1581977
{txt}{space 6}DumwIS {c |}{col 14}{res}{space 2}-.0114651{col 26}{space 2} .1283248{col 37}{space 1}   -0.09{col 46}{space 3}0.929{col 54}{space 4} -.262977{col 67}{space 3} .2400469
{txt}{space 6}DumwIT {c |}{col 14}{res}{space 2}-.0063668{col 26}{space 2} .1011192{col 37}{space 1}   -0.06{col 46}{space 3}0.950{col 54}{space 4}-.2045569{col 67}{space 3} .1918232
{txt}{space 6}DumwJP {c |}{col 14}{res}{space 2} .1627382{col 26}{space 2} .1013731{col 37}{space 1}    1.61{col 46}{space 3}0.108{col 54}{space 4}-.0359494{col 67}{space 3} .3614259
{txt}{space 6}DumwKE {c |}{col 14}{res}{space 2} .0200602{col 26}{space 2} .2409187{col 37}{space 1}    0.08{col 46}{space 3}0.934{col 54}{space 4}-.4521318{col 67}{space 3} .4922522
{txt}{space 6}DumwKR {c |}{col 14}{res}{space 2} .0370628{col 26}{space 2}  .101681{col 37}{space 1}    0.36{col 46}{space 3}0.715{col 54}{space 4}-.1622284{col 67}{space 3} .2363539
{txt}{space 6}DumwLK {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}DumwLU {c |}{col 14}{res}{space 2} .0284879{col 26}{space 2}  .108155{col 37}{space 1}    0.26{col 46}{space 3}0.792{col 54}{space 4} -.183492{col 67}{space 3} .2404679
{txt}{space 6}DumwMA {c |}{col 14}{res}{space 2}-.2201369{col 26}{space 2} .1210724{col 37}{space 1}   -1.82{col 46}{space 3}0.069{col 54}{space 4}-.4574345{col 67}{space 3} .0171607
{txt}{space 6}DumwMW {c |}{col 14}{res}{space 2}-.3548552{col 26}{space 2} .3230455{col 37}{space 1}   -1.10{col 46}{space 3}0.272{col 54}{space 4}-.9880129{col 67}{space 3} .2783024
{txt}{space 6}DumwMX {c |}{col 14}{res}{space 2} -.019477{col 26}{space 2} .1023326{col 37}{space 1}   -0.19{col 46}{space 3}0.849{col 54}{space 4}-.2200451{col 67}{space 3} .1810912
{txt}{space 6}DumwMY {c |}{col 14}{res}{space 2}-.0550079{col 26}{space 2} .1125008{col 37}{space 1}   -0.49{col 46}{space 3}0.625{col 54}{space 4}-.2755054{col 67}{space 3} .1654897
{txt}{space 6}DumwNL {c |}{col 14}{res}{space 2} .1966057{col 26}{space 2} .1050166{col 37}{space 1}    1.87{col 46}{space 3}0.061{col 54}{space 4}-.0092231{col 67}{space 3} .4024345
{txt}{space 6}DumwNO {c |}{col 14}{res}{space 2}-.0751867{col 26}{space 2} .1021108{col 37}{space 1}   -0.74{col 46}{space 3}0.462{col 54}{space 4}-.2753203{col 67}{space 3} .1249469
{txt}{space 6}DumwNZ {c |}{col 14}{res}{space 2}-.0185714{col 26}{space 2} .1035155{col 37}{space 1}   -0.18{col 46}{space 3}0.858{col 54}{space 4} -.221458{col 67}{space 3} .1843153
{txt}{space 6}DumwPH {c |}{col 14}{res}{space 2}-.0412033{col 26}{space 2} .1064068{col 37}{space 1}   -0.39{col 46}{space 3}0.699{col 54}{space 4}-.2497568{col 67}{space 3} .1673501
{txt}{space 6}DumwPL {c |}{col 14}{res}{space 2}-.1845267{col 26}{space 2} .1106286{col 37}{space 1}   -1.67{col 46}{space 3}0.095{col 54}{space 4}-.4013548{col 67}{space 3} .0323014
{txt}{space 6}DumwPT {c |}{col 14}{res}{space 2} .0197201{col 26}{space 2} .1042248{col 37}{space 1}    0.19{col 46}{space 3}0.850{col 54}{space 4}-.1845567{col 67}{space 3} .2239969
{txt}{space 6}DumwRO {c |}{col 14}{res}{space 2}-.1955891{col 26}{space 2} .1080545{col 37}{space 1}   -1.81{col 46}{space 3}0.070{col 54}{space 4} -.407372{col 67}{space 3} .0161938
{txt}{space 6}DumwSE {c |}{col 14}{res}{space 2} .0191629{col 26}{space 2} .1016241{col 37}{space 1}    0.19{col 46}{space 3}0.850{col 54}{space 4}-.1800167{col 67}{space 3} .2183425
{txt}{space 6}DumwSG {c |}{col 14}{res}{space 2} .0069806{col 26}{space 2} .1140167{col 37}{space 1}    0.06{col 46}{space 3}0.951{col 54}{space 4}-.2164881{col 67}{space 3} .2304492
{txt}{space 6}DumwTR {c |}{col 14}{res}{space 2}-.0272607{col 26}{space 2} .1187815{col 37}{space 1}   -0.23{col 46}{space 3}0.818{col 54}{space 4}-.2600681{col 67}{space 3} .2055467
{txt}{space 6}DumwTW {c |}{col 14}{res}{space 2}-.1639954{col 26}{space 2} .5054697{col 37}{space 1}   -0.32{col 46}{space 3}0.746{col 54}{space 4}-1.154698{col 67}{space 3} .8267071
{txt}{space 6}DumwUA {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}DumwUS {c |}{col 14}{res}{space 2}-.0571893{col 26}{space 2} .1010363{col 37}{space 1}   -0.57{col 46}{space 3}0.571{col 54}{space 4}-.2552169{col 67}{space 3} .1408383
{txt}{space 6}DumwVN {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 6}DumwZA {c |}{col 14}{res}{space 2}-.0620709{col 26}{space 2} .1021478{col 37}{space 1}   -0.61{col 46}{space 3}0.543{col 54}{space 4} -.262277{col 67}{space 3} .1381352
{txt}{space 6}DumwZM {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}_cons {c |}{col 14}{res}{space 2}  .458204{col 26}{space 2} .0054588{col 37}{space 1}   83.94{col 46}{space 3}0.000{col 54}{space 4} .4475048{col 67}{space 3} .4689031
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .30424413
     {txt}sigma_e {c |} {res} .49441523
         {txt}rho {c |} {res} .27466318{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
F  test that all u_i=0:     F({res}1314{txt},{res}39692{txt}) = {res}    1.43{col 59}{txt}Prob > F    = {res}0.0000
{txt}{hline 78}
{p 0 16 86}Instrumented:{space 3}L8tautApp{p_end}
{p 0 16 86}Instruments:{space 4}ncty lnP85 DumwAR DumwAT DumwAU DumwBE DumwBR DumwCA DumwCN DumwCS DumwCU DumwDE DumwDK DumwDZ DumwEG DumwEP DumwES DumwFI DumwFR DumwGB DumwGR DumwHK DumwHU DumwID DumwIE DumwIL DumwIN DumwIS DumwIT DumwJP DumwKE DumwKR DumwLK DumwLU DumwMA DumwMW DumwMX DumwMY DumwNL DumwNO DumwNZ DumwPH DumwPL DumwPT DumwRO DumwSE DumwSG DumwTR DumwTW DumwUS DumwZA L8taut{p_end}
{hline 78}

{com}. 
. * Import tariffs
. xtivreg $yy $c L8lnPall L8tautAppImp (L8tautApp = L8taut) if y==2000 & $iff & Missrta==0 & MissTarhq==0, fe i(id) $vce first
{txt}note: L8lnPall omitted because of collinearity

First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    37,980
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,114

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.7803{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.2465{col 63}{txt}avg{col 67}={col 69}{res}      34.1
{txt}     overall = {res}0.5657{col 63}{txt}max{col 67}={col 69}{res}     1,558

{txt}{col 49}F({res}6{txt},{res}1113{txt}){col 67}={col 70}{res}   562.81
{txt}corr(u_i, Xb){col 16}= {res}-0.5556{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:1,114} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}   L8tautApp{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}ncty {c |}{col 14}{res}{space 2}-.0000773{col 26}{space 2} .0000368{col 37}{space 1}   -2.10{col 46}{space 3}0.036{col 54}{space 4}-.0001496{col 67}{space 3}-5.06e-06
{txt}{space 7}lnP85 {c |}{col 14}{res}{space 2} .0002847{col 26}{space 2} .0001229{col 37}{space 1}    2.32{col 46}{space 3}0.021{col 54}{space 4} .0000436{col 67}{space 3} .0005257
{txt}{space 7}homew {c |}{col 14}{res}{space 2}-.0063625{col 26}{space 2} .0011223{col 37}{space 1}   -5.67{col 46}{space 3}0.000{col 54}{space 4}-.0085645{col 67}{space 3}-.0041604
{txt}{space 4}L8lnPall {c |}{col 14}{res}{space 2} .0006321{col 26}{space 2}  .001175{col 37}{space 1}    0.54{col 46}{space 3}0.591{col 54}{space 4}-.0016733{col 67}{space 3} .0029376
{txt}{space 4}L8lnPall {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
L8tautAppImp {c |}{col 14}{res}{space 2} .8132421{col 26}{space 2} .0540717{col 37}{space 1}   15.04{col 46}{space 3}0.000{col 54}{space 4} .7071482{col 67}{space 3}  .919336
{txt}{space 6}L8taut {c |}{col 14}{res}{space 2} .9410434{col 26}{space 2} .0236881{col 37}{space 1}   39.73{col 46}{space 3}0.000{col 54}{space 4}  .894565{col 67}{space 3} .9875218
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .0178281{col 26}{space 2} .0010515{col 37}{space 1}   16.95{col 46}{space 3}0.000{col 54}{space 4} .0157649{col 67}{space 3} .0198913
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .04810623
     {txt}sigma_e {c |} {res} .01165997
         {txt}rho {c |} {res} .94451193{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
{res}
{txt}Fixed-effects (within) IV regression{col 49}Number of obs{col 67}={col 69}{res}    37,980
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,114

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0214{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0168{col 63}{txt}avg{col 67}={col 69}{res}      34.1
{txt}     overall = {res}0.0202{col 63}{txt}max{col 67}={col 69}{res}     1,558


{txt}{col 49}Wald chi2({res}6{txt}){col 67}={col 70}{res} 15797.56
{txt}corr(u_i, Xb){col 16}= {res}-0.1423{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:1,114} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       L8lnP{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}L8tautApp {c |}{col 14}{res}{space 2} -2.86797{col 26}{space 2}  .506628{col 37}{space 1}   -5.66{col 46}{space 3}0.000{col 54}{space 4}-3.860943{col 67}{space 3}-1.874998
{txt}{space 8}ncty {c |}{col 14}{res}{space 2}-.0032869{col 26}{space 2}  .001569{col 37}{space 1}   -2.09{col 46}{space 3}0.036{col 54}{space 4}-.0063621{col 67}{space 3}-.0002118
{txt}{space 7}lnP85 {c |}{col 14}{res}{space 2}-.0344286{col 26}{space 2} .0068156{col 37}{space 1}   -5.05{col 46}{space 3}0.000{col 54}{space 4} -.047787{col 67}{space 3}-.0210702
{txt}{space 7}homew {c |}{col 14}{res}{space 2} .1478844{col 26}{space 2} .0249709{col 37}{space 1}    5.92{col 46}{space 3}0.000{col 54}{space 4} .0989424{col 67}{space 3} .1968264
{txt}{space 4}L8lnPall {c |}{col 14}{res}{space 2} .2467471{col 26}{space 2} .0424996{col 37}{space 1}    5.81{col 46}{space 3}0.000{col 54}{space 4} .1634493{col 67}{space 3} .3300448
{txt}{space 4}L8lnPall {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
L8tautAppImp {c |}{col 14}{res}{space 2} 1.893334{col 26}{space 2} .4753471{col 37}{space 1}    3.98{col 46}{space 3}0.000{col 54}{space 4}  .961671{col 67}{space 3} 2.824997
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .2921998{col 26}{space 2} .0229213{col 37}{space 1}   12.75{col 46}{space 3}0.000{col 54}{space 4} .2472749{col 67}{space 3} .3371247
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .31318954
     {txt}sigma_e {c |} {res} .50170039
         {txt}rho {c |} {res} .28041801{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
{p 0 16 86}Instrumented:{space 3}L8tautApp{p_end}
{p 0 16 86}Instruments:{space 4}ncty lnP85 homew L8lnPall L8tautAppImp L8taut{p_end}
{hline 78}

{com}. 
. * Import and input tariffs
. xtivreg $yy $c L8lnPall L8tautAppImp L8tautInpAppImp (L8tautApp = L8taut) if y==2000 & $iff & Missrta==0 & MissTarhq==0 & MissInpTarhq==0, fe i(id) $vce first
{txt}note: L8lnPall omitted because of collinearity

First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    37,980
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,114

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.7956{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.2688{col 63}{txt}avg{col 67}={col 69}{res}      34.1
{txt}     overall = {res}0.6165{col 63}{txt}max{col 67}={col 69}{res}     1,558

{txt}{col 49}F({res}7{txt},{res}1113{txt}){col 67}={col 70}{res}   508.47
{txt}corr(u_i, Xb){col 16}= {res}-0.5131{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 81:(Std. Err. adjusted for {res:1,114} clusters in id)}
{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}      L8tautApp{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}ncty {c |}{col 17}{res}{space 2}-.0000547{col 29}{space 2} .0000306{col 40}{space 1}   -1.79{col 49}{space 3}0.074{col 57}{space 4}-.0001146{col 70}{space 3} 5.32e-06
{txt}{space 10}lnP85 {c |}{col 17}{res}{space 2}  .000365{col 29}{space 2} .0001065{col 40}{space 1}    3.43{col 49}{space 3}0.001{col 57}{space 4}  .000156{col 70}{space 3}  .000574
{txt}{space 10}homew {c |}{col 17}{res}{space 2}-.0072554{col 29}{space 2} .0009609{col 40}{space 1}   -7.55{col 49}{space 3}0.000{col 57}{space 4}-.0091407{col 70}{space 3}-.0053701
{txt}{space 7}L8lnPall {c |}{col 17}{res}{space 2} .0002119{col 29}{space 2} .0011756{col 40}{space 1}    0.18{col 49}{space 3}0.857{col 57}{space 4}-.0020948{col 70}{space 3} .0025185
{txt}{space 7}L8lnPall {c |}{col 17}{res}{space 2}        0{col 29}{txt}  (omitted)
{space 3}L8tautAppImp {c |}{col 17}{res}{space 2} .1760847{col 29}{space 2} .1133585{col 40}{space 1}    1.55{col 49}{space 3}0.121{col 57}{space 4}-.0463358{col 70}{space 3} .3985051
{txt}L8tautInpAppImp {c |}{col 17}{res}{space 2} .0112877{col 29}{space 2} .0017439{col 40}{space 1}    6.47{col 49}{space 3}0.000{col 57}{space 4} .0078661{col 70}{space 3} .0147093
{txt}{space 9}L8taut {c |}{col 17}{res}{space 2} .9386517{col 29}{space 2} .0237674{col 40}{space 1}   39.49{col 49}{space 3}0.000{col 57}{space 4} .8920177{col 70}{space 3} .9852857
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} .0197903{col 29}{space 2} .0009421{col 40}{space 1}   21.01{col 49}{space 3}0.000{col 57}{space 4} .0179418{col 70}{space 3} .0216389
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        sigma_u {c |} {res}  .0460607
        {txt}sigma_e {c |} {res} .01124789
            {txt}rho {c |} {res}  .9437237{txt}   (fraction of variance due to u_i)
{hline 16}{c BT}{hline 64}
{res}
{txt}Fixed-effects (within) IV regression{col 49}Number of obs{col 67}={col 69}{res}    37,980
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,114

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0216{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0220{col 63}{txt}avg{col 67}={col 69}{res}      34.1
{txt}     overall = {res}0.0207{col 63}{txt}max{col 67}={col 69}{res}     1,558


{txt}{col 49}Wald chi2({res}7{txt}){col 67}={col 70}{res} 15892.15
{txt}corr(u_i, Xb){col 16}= {res}-0.1272{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{ralign 81:(Std. Err. adjusted for {res:1,114} clusters in id)}
{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}          L8lnP{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 6}L8tautApp {c |}{col 17}{res}{space 2}-2.873134{col 29}{space 2} .5073117{col 40}{space 1}   -5.66{col 49}{space 3}0.000{col 57}{space 4}-3.867446{col 70}{space 3}-1.878821
{txt}{space 11}ncty {c |}{col 17}{res}{space 2}-.0032413{col 29}{space 2} .0015727{col 40}{space 1}   -2.06{col 49}{space 3}0.039{col 57}{space 4}-.0063236{col 70}{space 3}-.0001589
{txt}{space 10}lnP85 {c |}{col 17}{res}{space 2}-.0342639{col 29}{space 2} .0068059{col 40}{space 1}   -5.03{col 49}{space 3}0.000{col 57}{space 4}-.0476032{col 70}{space 3}-.0209247
{txt}{space 10}homew {c |}{col 17}{res}{space 2} .1460375{col 29}{space 2} .0250654{col 40}{space 1}    5.83{col 49}{space 3}0.000{col 57}{space 4} .0969102{col 70}{space 3} .1951647
{txt}{space 7}L8lnPall {c |}{col 17}{res}{space 2} .2458966{col 29}{space 2} .0425471{col 40}{space 1}    5.78{col 49}{space 3}0.000{col 57}{space 4} .1625058{col 70}{space 3} .3292875
{txt}{space 7}L8lnPall {c |}{col 17}{res}{space 2}        0{col 29}{txt}  (omitted)
{space 3}L8tautAppImp {c |}{col 17}{res}{space 2} .6030939{col 29}{space 2} .7615162{col 40}{space 1}    0.79{col 49}{space 3}0.428{col 57}{space 4}-.8894504{col 70}{space 3} 2.095638
{txt}L8tautInpAppImp {c |}{col 17}{res}{space 2} .0229319{col 29}{space 2} .0140351{col 40}{space 1}    1.63{col 49}{space 3}0.102{col 57}{space 4}-.0045763{col 70}{space 3} .0504401
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} .2962782{col 29}{space 2}  .023369{col 40}{space 1}   12.68{col 49}{space 3}0.000{col 57}{space 4} .2504757{col 70}{space 3} .3420807
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        sigma_u {c |} {res} .30990208
        {txt}sigma_e {c |} {res} .50167213
            {txt}rho {c |} {res} .27620181{txt}   (fraction of variance due to u_i)
{hline 16}{c BT}{hline 64}
{p 0 16 83}Instrumented:{space 3}L8tautApp{p_end}
{p 0 16 83}Instruments:{space 4}ncty lnP85 homew L8lnPall L8tautAppImp L8tautInpAppImp L8taut{p_end}
{hline 81}

{com}. 
. * # patents during period as dependent variable
. tsset  hrm y
{res}{txt}{col 8}panel variable:  {res}hrm_l2_id (strongly balanced)
{txt}{col 9}time variable:  {res}{col 25}y, 1992 to 2004, but with gaps
{txt}{col 17}delta:  {res}1 unit
{txt}
{com}. gen ch2 = log(P-l8.P)
{txt}(328,745 missing values generated)

{com}. xtivreg ch2 $c (L8tautApp = L8taut) if y==2000 & $iff, fe i(id) $vce first      
{txt}warning: existing panel variable is not id

First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    29,320
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,199

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.8097{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.7868{col 63}{txt}avg{col 67}={col 69}{res}      24.5
{txt}     overall = {res}0.7860{col 63}{txt}max{col 67}={col 69}{res}     1,110

{txt}{col 49}F({res}5{txt},{res}1198{txt}){col 67}={col 70}{res}  2261.69
{txt}corr(u_i, Xb){col 16}= {res}-0.1313{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:1,199} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}   L8tautApp{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}ncty {c |}{col 14}{res}{space 2} -.000214{col 26}{space 2}  .000035{col 37}{space 1}   -6.11{col 46}{space 3}0.000{col 54}{space 4}-.0002828{col 67}{space 3}-.0001453
{txt}{space 7}lnP85 {c |}{col 14}{res}{space 2} .0001303{col 26}{space 2} .0001298{col 37}{space 1}    1.00{col 46}{space 3}0.316{col 54}{space 4}-.0001243{col 67}{space 3} .0003849
{txt}{space 7}homew {c |}{col 14}{res}{space 2}-.0028299{col 26}{space 2} .0009659{col 37}{space 1}   -2.93{col 46}{space 3}0.003{col 54}{space 4} -.004725{col 67}{space 3}-.0009348
{txt}{space 4}L8lnPall {c |}{col 14}{res}{space 2}-.0019924{col 26}{space 2} .0017628{col 37}{space 1}   -1.13{col 46}{space 3}0.259{col 54}{space 4}-.0054508{col 67}{space 3} .0014661
{txt}{space 6}L8taut {c |}{col 14}{res}{space 2} .9893808{col 26}{space 2} .0126275{col 37}{space 1}   78.35{col 46}{space 3}0.000{col 54}{space 4} .9646062{col 67}{space 3} 1.014155
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .0090335{col 26}{space 2} .0008748{col 37}{space 1}   10.33{col 46}{space 3}0.000{col 54}{space 4} .0073172{col 67}{space 3} .0107498
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .01997507
     {txt}sigma_e {c |} {res} .01451624
         {txt}rho {c |} {res} .65439937{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
{res}
{txt}Fixed-effects (within) IV regression{col 49}Number of obs{col 67}={col 69}{res}    29,320
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,199

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1882{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.1034{col 63}{txt}avg{col 67}={col 69}{res}      24.5
{txt}     overall = {res}0.2174{col 63}{txt}max{col 67}={col 69}{res}     1,110


{txt}{col 49}Wald chi2({res}5{txt}){col 67}={col 70}{res}  4657.00
{txt}corr(u_i, Xb){col 16}= {res}0.1119{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:1,199} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}         ch2{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}L8tautApp {c |}{col 14}{res}{space 2}-2.176311{col 26}{space 2} .5431838{col 37}{space 1}   -4.01{col 46}{space 3}0.000{col 54}{space 4}-3.240932{col 67}{space 3} -1.11169
{txt}{space 8}ncty {c |}{col 14}{res}{space 2} .0206646{col 26}{space 2} .0047369{col 37}{space 1}    4.36{col 46}{space 3}0.000{col 54}{space 4} .0113805{col 67}{space 3} .0299487
{txt}{space 7}lnP85 {c |}{col 14}{res}{space 2} .4341492{col 26}{space 2} .0185405{col 37}{space 1}   23.42{col 46}{space 3}0.000{col 54}{space 4} .3978106{col 67}{space 3} .4704879
{txt}{space 7}homew {c |}{col 14}{res}{space 2}-.1404441{col 26}{space 2}  .035993{col 37}{space 1}   -3.90{col 46}{space 3}0.000{col 54}{space 4}-.2109891{col 67}{space 3} -.069899
{txt}{space 4}L8lnPall {c |}{col 14}{res}{space 2} .4743116{col 26}{space 2} .0932441{col 37}{space 1}    5.09{col 46}{space 3}0.000{col 54}{space 4} .2915565{col 67}{space 3} .6570667
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}   .19858{col 26}{space 2} .0449483{col 37}{space 1}    4.42{col 46}{space 3}0.000{col 54}{space 4} .1104829{col 67}{space 3} .2866771
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .64474855
     {txt}sigma_e {c |} {res} 1.1538784
         {txt}rho {c |} {res} .23793262{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
{p 0 16 86}Instrumented:{space 3}L8tautApp{p_end}
{p 0 16 86}Instruments:{space 4}ncty lnP85 homew L8lnPall L8taut{p_end}
{hline 78}

{com}. 
. 
. * -----------------------------------------------------------------------------
. * Placebo - regress patenting in the 1980s on trade liberalization in the 1990s
. * -----------------------------------------------------------------------------
. global yyear 1988 // Final patent year 
{txt}
{com}. 
. use tauT5d_to1975, clear
{txt}
{com}. 
. * Drop firms that are patenting in countries with missing tariff data
. keep hrm headq nace homew ncty taut1992-taut2000  tautApp1992-tautApp2000 Miss*
{txt}
{com}. reshape long taut tautApp, i(hrm headq homew ncty) j(y)
{txt}(note: j = 1992 1993 1994 1995 1996 1997 1998 1999 2000)

Data{col 36}wide{col 43}->{col 48}long
{hline 77}
Number of obs.                 {res}  434996   {txt}->{res} 3.9e+06
{txt}Number of variables            {res}      27   {txt}->{res}      12
{txt}j variable (9 values)                     ->   {res}y
{txt}xij variables:
         {res}taut1992 taut1993 ... taut2000   {txt}->   {res}taut
tautApp1992 tautApp1993 ... tautApp2000   {txt}->   {res}tautApp
{txt}{hline 77}

{com}. replace taut = taut/100
{txt}(1,638,263 real changes made)

{com}. save $tmp/tmpplacebo, replace
{txt}file /tmp/tmpplacebo.dta saved

{com}. 
. use lnPall_to1975, clear
{txt}
{com}. keep hrm lnPall1980-lnPall1990
{txt}
{com}. reshape long lnPall, i(hrm) j(y)
{txt}(note: j = 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990)

Data{col 36}wide{col 43}->{col 48}long
{hline 77}
Number of obs.                 {res}  434817   {txt}->{res} 4.8e+06
{txt}Number of variables            {res}      12   {txt}->{res}       3
{txt}j variable (11 values)                    ->   {res}y
{txt}xij variables:
   {res}lnPall1980 lnPall1981 ... lnPall1990   {txt}->   {res}lnPall
{txt}{hline 77}

{com}. save $tmp/lnPalltmp, replace
{txt}file /tmp/lnPalltmp.dta saved

{com}. 
. use $tmp/tmpplacebo, clear
{txt}
{com}. replace y = y-(2000-$yyear)  // Lag year 12 years
{txt}(3,914,964 real changes made)

{com}. keep if y<=$yyear
{txt}(0 observations deleted)

{com}. merge 1:1 hrm y using DDplacebo$Granted
{res}
{txt}{col 5}Result{col 38}# of obs.
{col 5}{hline 41}
{col 5}not matched{col 30}{res}       7,944,692
{txt}{col 9}from master{col 30}{res}       3,156,057{txt}  (_merge==1)
{col 9}from using{col 30}{res}       4,788,635{txt}  (_merge==2)

{col 5}matched{col 30}{res}         758,907{txt}  (_merge==3)
{col 5}{hline 41}

{com}. keep if _merge==3
{txt}(7,944,692 observations deleted)

{com}. gen lnP = log(P)
{txt}(20,163 missing values generated)

{com}. gen lnP75 = log(P75)
{txt}(59,679 missing values generated)

{com}. drop _merge
{txt}
{com}. 
. merge 1:1 hrm y using $tmp/lnPalltmp, keep(match)
{res}
{txt}{col 5}Result{col 38}# of obs.
{col 5}{hline 41}
{col 5}not matched{col 30}{res}               0
{txt}{col 5}matched{col 30}{res}         758,664{txt}  (_merge==3)
{col 5}{hline 41}

{com}. drop _merge
{txt}
{com}. 
. merge m:1 headq using WTOmembers_sample${c -(}Granted{c )-}, keep(match master)
{res}
{txt}{col 5}Result{col 38}# of obs.
{col 5}{hline 41}
{col 5}not matched{col 30}{res}              90
{txt}{col 9}from master{col 30}{res}              90{txt}  (_merge==1)
{col 9}from using{col 30}{res}               0{txt}  (_merge==2)

{col 5}matched{col 30}{res}         758,574{txt}  (_merge==3)
{col 5}{hline 41}

{com}. drop _merge
{txt}
{com}. 
. tsset hrm y
{res}{txt}{col 8}panel variable:  {res}hrm_l2_id (strongly balanced)
{txt}{col 9}time variable:  {res}{col 25}y, 1980 to 1988
{txt}{col 17}delta:  {res}1 unit
{txt}
{com}. capture drop L8*
{txt}
{com}. foreach vv of varlist p P ln* tau* cit* {c -(}
{txt}  2{com}.   gen L8`vv' = `vv' - l8.`vv'
{txt}  3{com}. {c )-}
{txt}(674,368 missing values generated)
(674,368 missing values generated)
(678,379 missing values generated)
(680,999 missing values generated)
(674,368 missing values generated)
(674,368 missing values generated)
(674,368 missing values generated)
(746,312 missing values generated)
(746,312 missing values generated)

{com}. 
. egen id = group(nace2_1 headq)
{txt}(3177 missing values generated)

{com}. xtivreg L8lnP ncty lnP75 L8lnPall homew (L8tautApp = L8taut) if $iff & y==$yyear, fe i(id) vce(robust) first  
{txt}warning: existing panel variable is not id

First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    21,568
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,056

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.7567{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.5758{col 63}{txt}avg{col 67}={col 69}{res}      20.4
{txt}     overall = {res}0.7012{col 63}{txt}max{col 67}={col 69}{res}       969

{txt}{col 49}F({res}5{txt},{res}1055{txt}){col 67}={col 70}{res}   625.99
{txt}corr(u_i, Xb){col 16}= {res}-0.1465{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:1,056} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}   L8tautApp{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}ncty {c |}{col 14}{res}{space 2}-.0486699{col 26}{space 2} .0081683{col 37}{space 1}   -5.96{col 46}{space 3}0.000{col 54}{space 4}-.0646979{col 67}{space 3} -.032642
{txt}{space 7}lnP75 {c |}{col 14}{res}{space 2}-.0117538{col 26}{space 2} .0159842{col 37}{space 1}   -0.74{col 46}{space 3}0.462{col 54}{space 4}-.0431183{col 67}{space 3} .0196108
{txt}{space 4}L8lnPall {c |}{col 14}{res}{space 2}-.6734163{col 26}{space 2} .1595718{col 37}{space 1}   -4.22{col 46}{space 3}0.000{col 54}{space 4}-.9865306{col 67}{space 3} -.360302
{txt}{space 7}homew {c |}{col 14}{res}{space 2}-.6113522{col 26}{space 2} .1095023{col 37}{space 1}   -5.58{col 46}{space 3}0.000{col 54}{space 4}-.8262193{col 67}{space 3}-.3964851
{txt}{space 6}L8taut {c |}{col 14}{res}{space 2} 92.70657{col 26}{space 2} 3.383982{col 37}{space 1}   27.40{col 46}{space 3}0.000{col 54}{space 4} 86.06647{col 67}{space 3} 99.34667
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 1.421543{col 26}{space 2} .1206571{col 37}{space 1}   11.78{col 46}{space 3}0.000{col 54}{space 4} 1.184788{col 67}{space 3} 1.658298
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} 2.1294998
     {txt}sigma_e {c |} {res} 1.4255048
         {txt}rho {c |} {res} .69055649{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
{res}
{txt}Fixed-effects (within) IV regression{col 49}Number of obs{col 67}={col 69}{res}    21,568
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,056

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0847{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0497{col 63}{txt}avg{col 67}={col 69}{res}      20.4
{txt}     overall = {res}0.0924{col 63}{txt}max{col 67}={col 69}{res}       969


{txt}{col 49}Wald chi2({res}5{txt}){col 67}={col 70}{res} 22441.76
{txt}corr(u_i, Xb){col 16}= {res}0.0468{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:1,056} clusters in id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}       L8lnP{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}L8tautApp {c |}{col 14}{res}{space 2} .0036292{col 26}{space 2} .0010651{col 37}{space 1}    3.41{col 46}{space 3}0.001{col 54}{space 4} .0015417{col 67}{space 3} .0057167
{txt}{space 8}ncty {c |}{col 14}{res}{space 2} .0150977{col 26}{space 2} .0018785{col 37}{space 1}    8.04{col 46}{space 3}0.000{col 54}{space 4} .0114159{col 67}{space 3} .0187795
{txt}{space 7}lnP75 {c |}{col 14}{res}{space 2}-.1597207{col 26}{space 2} .0049526{col 37}{space 1}  -32.25{col 46}{space 3}0.000{col 54}{space 4}-.1694276{col 67}{space 3}-.1500138
{txt}{space 4}L8lnPall {c |}{col 14}{res}{space 2} .0437897{col 26}{space 2} .0383275{col 37}{space 1}    1.14{col 46}{space 3}0.253{col 54}{space 4}-.0313309{col 67}{space 3} .1189103
{txt}{space 7}homew {c |}{col 14}{res}{space 2} .0994085{col 26}{space 2}  .026146{col 37}{space 1}    3.80{col 46}{space 3}0.000{col 54}{space 4} .0481633{col 67}{space 3} .1506537
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .5910992{col 26}{space 2} .0248569{col 37}{space 1}   23.78{col 46}{space 3}0.000{col 54}{space 4} .5423805{col 67}{space 3} .6398178
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .32829851
     {txt}sigma_e {c |} {res} .48150641
         {txt}rho {c |} {res} .31734664{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
{p 0 16 86}Instrumented:{space 3}L8tautApp{p_end}
{p 0 16 86}Instruments:{space 4}ncty lnP75 L8lnPall homew L8taut{p_end}
{hline 78}

{com}. 
. 
. * -----------------------------------------------------------------------------
. * Heterogeneity results
. * -----------------------------------------------------------------------------
. * -----------------------------------------------------------------------------
. * Tables 6 and 7
. * -----------------------------------------------------------------------------
. di "****************** Sec 5: Country heterogeneity results ******************"
{res}****************** Sec 5: Country heterogeneity results ******************
{txt}
{com}. use heterogeneity_variables, clear
{txt}
{com}. 
. set more off
{txt}
{com}. 
. global yy "L8lnP"
{txt}
{com}. global z "L8taut"
{txt}
{com}. global x "L8tautApp"
{txt}
{com}. global c "ncty lnP85 homew"
{txt}
{com}. global cc "homew L8lnPall"
{txt}
{com}. global vce "vce(cluster id)"
{txt}
{com}. global iff "MissTar==0 & homew<1"
{txt}
{com}. 
. gen L8tautExPred = L8tautPred/(1-homewPred)
{txt}(249,638 missing values generated)

{com}. gen L8tautExAppPred = L8tautAppPred/(1-homewPred)
{txt}(249,638 missing values generated)

{com}. 
. // Country heterogeneity: GDP per capita quartiles
. xtivreg $yy $c L8lnPall ($x ${c -(}x{c )-}_gdp_pcap_q2 ${c -(}x{c )-}_gdp_pcap_q3 ${c -(}x{c )-}_gdp_pcap_q4 = $z ${c -(}z{c )-}_gdp_pcap_q2 ///
>     ${c -(}z{c )-}_gdp_pcap_q3 ${c -(}z{c )-}_gdp_pcap_q4) if y==2000 & $iff, fe i(id) $vce first   
{txt}warning: existing panel variable is not id

First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    39,679
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,149

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.6617{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.5590{col 63}{txt}avg{col 67}={col 69}{res}      34.5
{txt}     overall = {res}0.6289{col 63}{txt}max{col 67}={col 69}{res}     1,568

{txt}{col 49}F({res}8{txt},{res}1148{txt}){col 67}={col 70}{res}  9818.76
{txt}corr(u_i, Xb){col 16}= {res}-0.1429{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 84:(Std. Err. adjusted for {res:1,149} clusters in id)}
{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 20}{c |}{col 32}    Robust
{col 1}         L8tautApp{col 20}{c |}      Coef.{col 32}   Std. Err.{col 44}      t{col 52}   P>|t|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 14}ncty {c |}{col 20}{res}{space 2} -.000204{col 32}{space 2} .0000404{col 43}{space 1}   -5.05{col 52}{space 3}0.000{col 60}{space 4}-.0002832{col 73}{space 3}-.0001248
{txt}{space 13}lnP85 {c |}{col 20}{res}{space 2}-.0000175{col 32}{space 2} .0001473{col 43}{space 1}   -0.12{col 52}{space 3}0.906{col 60}{space 4}-.0003065{col 73}{space 3} .0002716
{txt}{space 13}homew {c |}{col 20}{res}{space 2}-.0010327{col 32}{space 2} .0010726{col 43}{space 1}   -0.96{col 52}{space 3}0.336{col 60}{space 4}-.0031372{col 73}{space 3} .0010718
{txt}{space 10}L8lnPall {c |}{col 20}{res}{space 2} .0004282{col 32}{space 2} .0018912{col 43}{space 1}    0.23{col 52}{space 3}0.821{col 60}{space 4}-.0032823{col 73}{space 3} .0041388
{txt}{space 12}L8taut {c |}{col 20}{res}{space 2} 1.010244{col 32}{space 2} .0088998{col 43}{space 1}  113.51{col 52}{space 3}0.000{col 60}{space 4} .9927824{col 73}{space 3} 1.027706
{txt}L8taut_gdp_pcap_q2 {c |}{col 20}{res}{space 2}-.0182095{col 32}{space 2} .0136611{col 43}{space 1}   -1.33{col 52}{space 3}0.183{col 60}{space 4} -.045013{col 73}{space 3}  .008594
{txt}L8taut_gdp_pcap_q3 {c |}{col 20}{res}{space 2} -.135209{col 32}{space 2} .0446392{col 43}{space 1}   -3.03{col 52}{space 3}0.003{col 60}{space 4}-.2227926{col 73}{space 3}-.0476254
{txt}L8taut_gdp_pcap_q4 {c |}{col 20}{res}{space 2}-.0718795{col 32}{space 2} .0210458{col 43}{space 1}   -3.42{col 52}{space 3}0.001{col 60}{space 4} -.113172{col 73}{space 3}-.0305869
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .0063537{col 32}{space 2} .0008885{col 43}{space 1}    7.15{col 52}{space 3}0.000{col 60}{space 4} .0046105{col 73}{space 3} .0080969
{txt}{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           sigma_u {c |} {res} .01851233
           {txt}sigma_e {c |} {res}  .0148796
               {txt}rho {c |} {res} .60751827{txt}   (fraction of variance due to u_i)
{hline 19}{c BT}{hline 64}

First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    39,679
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,149

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.9485{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.8551{col 63}{txt}avg{col 67}={col 69}{res}      34.5
{txt}     overall = {res}0.9288{col 63}{txt}max{col 67}={col 69}{res}     1,568

{txt}{col 49}F({res}8{txt},{res}1148{txt}){col 67}={col 70}{res}  1142.48
{txt}corr(u_i, Xb){col 16}= {res}0.1664{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 84:(Std. Err. adjusted for {res:1,149} clusters in id)}
{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 20}{c |}{col 32}    Robust
{col 1}L8tautApp_gdp_pc~2{col 20}{c |}      Coef.{col 32}   Std. Err.{col 44}      t{col 52}   P>|t|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 14}ncty {c |}{col 20}{res}{space 2}-7.47e-07{col 32}{space 2} 8.35e-07{col 43}{space 1}   -0.89{col 52}{space 3}0.371{col 60}{space 4}-2.39e-06{col 73}{space 3} 8.91e-07
{txt}{space 13}lnP85 {c |}{col 20}{res}{space 2} 2.26e-06{col 32}{space 2} 1.97e-06{col 43}{space 1}    1.15{col 52}{space 3}0.251{col 60}{space 4}-1.60e-06{col 73}{space 3} 6.13e-06
{txt}{space 13}homew {c |}{col 20}{res}{space 2} .0000407{col 32}{space 2}  .000024{col 43}{space 1}    1.69{col 52}{space 3}0.091{col 60}{space 4}-6.46e-06{col 73}{space 3} .0000879
{txt}{space 10}L8lnPall {c |}{col 20}{res}{space 2}-.0000213{col 32}{space 2} .0000283{col 43}{space 1}   -0.75{col 52}{space 3}0.452{col 60}{space 4}-.0000769{col 73}{space 3} .0000343
{txt}{space 12}L8taut {c |}{col 20}{res}{space 2}-.0004342{col 32}{space 2} .0002737{col 43}{space 1}   -1.59{col 52}{space 3}0.113{col 60}{space 4}-.0009712{col 73}{space 3} .0001028
{txt}L8taut_gdp_pcap_q2 {c |}{col 20}{res}{space 2} .9902992{col 32}{space 2} .0113223{col 43}{space 1}   87.46{col 52}{space 3}0.000{col 60}{space 4} .9680845{col 73}{space 3} 1.012514
{txt}L8taut_gdp_pcap_q3 {c |}{col 20}{res}{space 2} .0001804{col 32}{space 2} .0002122{col 43}{space 1}    0.85{col 52}{space 3}0.396{col 60}{space 4} -.000236{col 73}{space 3} .0005968
{txt}L8taut_gdp_pcap_q4 {c |}{col 20}{res}{space 2} .0001874{col 32}{space 2}  .000214{col 43}{space 1}    0.88{col 52}{space 3}0.381{col 60}{space 4}-.0002325{col 73}{space 3} .0006074
{txt}{space 13}_cons {c |}{col 20}{res}{space 2}-.0000592{col 32}{space 2} .0000137{col 43}{space 1}   -4.31{col 52}{space 3}0.000{col 60}{space 4}-.0000861{col 73}{space 3}-.0000323
{txt}{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           sigma_u {c |} {res}  .0049819
           {txt}sigma_e {c |} {res} .00072783
               {txt}rho {c |} {res} .97910241{txt}   (fraction of variance due to u_i)
{hline 19}{c BT}{hline 64}

First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    39,679
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,149

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.4839{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.5074{col 63}{txt}avg{col 67}={col 69}{res}      34.5
{txt}     overall = {res}0.4802{col 63}{txt}max{col 67}={col 69}{res}     1,568

{txt}{col 49}F({res}8{txt},{res}1148{txt}){col 67}={col 70}{res}    85.14
{txt}corr(u_i, Xb){col 16}= {res}-0.4936{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 84:(Std. Err. adjusted for {res:1,149} clusters in id)}
{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 20}{c |}{col 32}    Robust
{col 1}L8tautApp_gdp_pc~3{col 20}{c |}      Coef.{col 32}   Std. Err.{col 44}      t{col 52}   P>|t|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 14}ncty {c |}{col 20}{res}{space 2} 3.20e-06{col 32}{space 2} .0000191{col 43}{space 1}    0.17{col 52}{space 3}0.867{col 60}{space 4}-.0000343{col 73}{space 3} .0000407
{txt}{space 13}lnP85 {c |}{col 20}{res}{space 2} .0001801{col 32}{space 2} .0000525{col 43}{space 1}    3.43{col 52}{space 3}0.001{col 60}{space 4} .0000771{col 73}{space 3} .0002831
{txt}{space 13}homew {c |}{col 20}{res}{space 2}-.0021228{col 32}{space 2} .0004967{col 43}{space 1}   -4.27{col 52}{space 3}0.000{col 60}{space 4}-.0030973{col 73}{space 3}-.0011483
{txt}{space 10}L8lnPall {c |}{col 20}{res}{space 2}-.0017868{col 32}{space 2} .0008643{col 43}{space 1}   -2.07{col 52}{space 3}0.039{col 60}{space 4}-.0034825{col 73}{space 3} -.000091
{txt}{space 12}L8taut {c |}{col 20}{res}{space 2} .0151774{col 32}{space 2} .0074369{col 43}{space 1}    2.04{col 52}{space 3}0.041{col 60}{space 4} .0005861{col 73}{space 3} .0297688
{txt}L8taut_gdp_pcap_q2 {c |}{col 20}{res}{space 2} -.009293{col 32}{space 2} .0072999{col 43}{space 1}   -1.27{col 52}{space 3}0.203{col 60}{space 4}-.0236156{col 73}{space 3} .0050297
{txt}L8taut_gdp_pcap_q3 {c |}{col 20}{res}{space 2} .8595963{col 32}{space 2}  .044642{col 43}{space 1}   19.26{col 52}{space 3}0.000{col 60}{space 4} .7720073{col 73}{space 3} .9471854
{txt}L8taut_gdp_pcap_q4 {c |}{col 20}{res}{space 2}-.0107115{col 32}{space 2} .0070187{col 43}{space 1}   -1.53{col 52}{space 3}0.127{col 60}{space 4}-.0244824{col 73}{space 3} .0030594
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .0033583{col 32}{space 2} .0004332{col 43}{space 1}    7.75{col 52}{space 3}0.000{col 60}{space 4} .0025084{col 73}{space 3} .0042083
{txt}{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           sigma_u {c |} {res} .00942691
           {txt}sigma_e {c |} {res} .00921737
               {txt}rho {c |} {res} .51123769{txt}   (fraction of variance due to u_i)
{hline 19}{c BT}{hline 64}

First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    39,679
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,149

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.7174{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.6605{col 63}{txt}avg{col 67}={col 69}{res}      34.5
{txt}     overall = {res}0.7011{col 63}{txt}max{col 67}={col 69}{res}     1,568

{txt}{col 49}F({res}8{txt},{res}1148{txt}){col 67}={col 70}{res}   802.79
{txt}corr(u_i, Xb){col 16}= {res}-0.2951{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 84:(Std. Err. adjusted for {res:1,149} clusters in id)}
{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 20}{c |}{col 32}    Robust
{col 1}L8tautApp_gdp_pc~4{col 20}{c |}      Coef.{col 32}   Std. Err.{col 44}      t{col 52}   P>|t|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 14}ncty {c |}{col 20}{res}{space 2}-.0002065{col 32}{space 2} .0000348{col 43}{space 1}   -5.93{col 52}{space 3}0.000{col 60}{space 4}-.0002748{col 73}{space 3}-.0001381
{txt}{space 13}lnP85 {c |}{col 20}{res}{space 2}-.0001998{col 32}{space 2} .0001236{col 43}{space 1}   -1.62{col 52}{space 3}0.106{col 60}{space 4}-.0004424{col 73}{space 3} .0000427
{txt}{space 13}homew {c |}{col 20}{res}{space 2} .0010493{col 32}{space 2} .0008667{col 43}{space 1}    1.21{col 52}{space 3}0.226{col 60}{space 4}-.0006512{col 73}{space 3} .0027499
{txt}{space 10}L8lnPall {c |}{col 20}{res}{space 2} .0022363{col 32}{space 2} .0016279{col 43}{space 1}    1.37{col 52}{space 3}0.170{col 60}{space 4}-.0009576{col 73}{space 3} .0054302
{txt}{space 12}L8taut {c |}{col 20}{res}{space 2}-.0044992{col 32}{space 2} .0085138{col 43}{space 1}   -0.53{col 52}{space 3}0.597{col 60}{space 4}-.0212035{col 73}{space 3} .0122051
{txt}L8taut_gdp_pcap_q2 {c |}{col 20}{res}{space 2} .0007842{col 32}{space 2} .0078444{col 43}{space 1}    0.10{col 52}{space 3}0.920{col 60}{space 4}-.0146067{col 73}{space 3} .0161752
{txt}L8taut_gdp_pcap_q3 {c |}{col 20}{res}{space 2} .0050143{col 32}{space 2} .0069387{col 43}{space 1}    0.72{col 52}{space 3}0.470{col 60}{space 4}-.0085997{col 73}{space 3} .0186283
{txt}L8taut_gdp_pcap_q4 {c |}{col 20}{res}{space 2} .9386446{col 32}{space 2} .0212013{col 43}{space 1}   44.27{col 52}{space 3}0.000{col 60}{space 4} .8970469{col 73}{space 3} .9802422
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .0030574{col 32}{space 2}  .000747{col 43}{space 1}    4.09{col 52}{space 3}0.000{col 60}{space 4} .0015919{col 73}{space 3}  .004523
{txt}{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           sigma_u {c |} {res} .01514943
           {txt}sigma_e {c |} {res} .01163831
               {txt}rho {c |} {res} .62885825{txt}   (fraction of variance due to u_i)
{hline 19}{c BT}{hline 64}
{res}
{txt}Fixed-effects (within) IV regression{col 49}Number of obs{col 67}={col 69}{res}    39,679
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,149

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0235{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0107{col 63}{txt}avg{col 67}={col 69}{res}      34.5
{txt}     overall = {res}0.0206{col 63}{txt}max{col 67}={col 69}{res}     1,568


{txt}{col 49}Wald chi2({res}8{txt}){col 67}={col 70}{res} 15464.26
{txt}corr(u_i, Xb){col 16}= {res}-0.1519{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{ralign 87:(Std. Err. adjusted for {res:1,149} clusters in id)}
{hline 22}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 23}{c |}{col 35}    Robust
{col 1}                L8lnP{col 23}{c |}      Coef.{col 35}   Std. Err.{col 47}      z{col 55}   P>|z|{col 63}     [95% Con{col 76}f. Interval]
{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}L8tautApp {c |}{col 23}{res}{space 2} 5.024665{col 35}{space 2} 2.914802{col 46}{space 1}    1.72{col 55}{space 3}0.085{col 63}{space 4}-.6882414{col 76}{space 3} 10.73757
{txt}L8tautApp_gdp_pcap_q2 {c |}{col 23}{res}{space 2}-3.014025{col 35}{space 2} 3.012891{col 46}{space 1}   -1.00{col 55}{space 3}0.317{col 63}{space 4}-8.919182{col 76}{space 3} 2.891132
{txt}L8tautApp_gdp_pcap_q3 {c |}{col 23}{res}{space 2}-7.357894{col 35}{space 2} 2.919288{col 46}{space 1}   -2.52{col 55}{space 3}0.012{col 63}{space 4}-13.07959{col 76}{space 3}-1.636194
{txt}L8tautApp_gdp_pcap_q4 {c |}{col 23}{res}{space 2}-7.963295{col 35}{space 2}  2.96295{col 46}{space 1}   -2.69{col 55}{space 3}0.007{col 63}{space 4}-13.77057{col 76}{space 3}-2.156019
{txt}{space 17}ncty {c |}{col 23}{res}{space 2}-.0036028{col 35}{space 2} .0015011{col 46}{space 1}   -2.40{col 55}{space 3}0.016{col 63}{space 4}-.0065449{col 76}{space 3}-.0006607
{txt}{space 16}lnP85 {c |}{col 23}{res}{space 2}-.0362817{col 35}{space 2} .0066576{col 46}{space 1}   -5.45{col 55}{space 3}0.000{col 63}{space 4}-.0493304{col 76}{space 3}-.0232329
{txt}{space 16}homew {c |}{col 23}{res}{space 2} .1599236{col 35}{space 2} .0243219{col 46}{space 1}    6.58{col 55}{space 3}0.000{col 63}{space 4} .1122534{col 76}{space 3} .2075937
{txt}{space 13}L8lnPall {c |}{col 23}{res}{space 2} .2433424{col 35}{space 2} .0392214{col 46}{space 1}    6.20{col 55}{space 3}0.000{col 63}{space 4} .1664698{col 76}{space 3}  .320215
{txt}{space 16}_cons {c |}{col 23}{res}{space 2} .2738245{col 35}{space 2} .0191017{col 46}{space 1}   14.34{col 55}{space 3}0.000{col 63}{space 4} .2363859{col 76}{space 3} .3112632
{txt}{hline 22}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
              sigma_u {c |} {res} .30410409
              {txt}sigma_e {c |} {res} .49978682
                  {txt}rho {c |} {res} .27019702{txt}   (fraction of variance due to u_i)
{hline 22}{c BT}{hline 64}
{p 0 16 77}Instrumented:{space 3}L8tautApp L8tautApp_gdp_pcap_q2 L8tautApp_gdp_pcap_q3 L8tautApp_gdp_pcap_q4{p_end}
{p 0 16 77}Instruments:{space 4}ncty lnP85 homew L8lnPall L8taut L8taut_gdp_pcap_q2 L8taut_gdp_pcap_q3 L8taut_gdp_pcap_q4{p_end}
{hline 87}

{com}. 
. // Country heterogeneity: trade (% of GDP) quartiles 
. xtivreg $yy $c L8lnPall ($x ${c -(}x{c )-}_trade_q2 ${c -(}x{c )-}_trade_q3 ${c -(}x{c )-}_trade_q4 = $z ${c -(}z{c )-}_trade_q2 ///
>     ${c -(}z{c )-}_trade_q3 ${c -(}z{c )-}_trade_q4) if y==2000 & $iff, fe i(id) $vce first

{txt}First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    39,679
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,149

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.6613{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.5466{col 63}{txt}avg{col 67}={col 69}{res}      34.5
{txt}     overall = {res}0.6236{col 63}{txt}max{col 67}={col 69}{res}     1,568

{txt}{col 49}F({res}8{txt},{res}1148{txt}){col 67}={col 70}{res}   647.19
{txt}corr(u_i, Xb){col 16}= {res}-0.1426{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 81:(Std. Err. adjusted for {res:1,149} clusters in id)}
{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}      L8tautApp{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}ncty {c |}{col 17}{res}{space 2}-.0001997{col 29}{space 2} .0000416{col 40}{space 1}   -4.80{col 49}{space 3}0.000{col 57}{space 4}-.0002813{col 70}{space 3}-.0001182
{txt}{space 10}lnP85 {c |}{col 17}{res}{space 2} 2.49e-06{col 29}{space 2} .0001501{col 40}{space 1}    0.02{col 49}{space 3}0.987{col 57}{space 4} -.000292{col 70}{space 3}  .000297
{txt}{space 10}homew {c |}{col 17}{res}{space 2}-.0011037{col 29}{space 2}  .001099{col 40}{space 1}   -1.00{col 49}{space 3}0.315{col 57}{space 4}-.0032601{col 70}{space 3} .0010527
{txt}{space 7}L8lnPall {c |}{col 17}{res}{space 2} .0006055{col 29}{space 2} .0018807{col 40}{space 1}    0.32{col 49}{space 3}0.748{col 57}{space 4}-.0030844{col 70}{space 3} .0042955
{txt}{space 9}L8taut {c |}{col 17}{res}{space 2} .9184691{col 29}{space 2} .0261055{col 40}{space 1}   35.18{col 49}{space 3}0.000{col 57}{space 4} .8672493{col 70}{space 3} .9696889
{txt}L8taut_trade_q2 {c |}{col 17}{res}{space 2}  .034948{col 29}{space 2} .0617626{col 40}{space 1}    0.57{col 49}{space 3}0.572{col 57}{space 4}-.0862323{col 70}{space 3} .1561283
{txt}L8taut_trade_q3 {c |}{col 17}{res}{space 2} .0041302{col 29}{space 2} .0447841{col 40}{space 1}    0.09{col 49}{space 3}0.927{col 57}{space 4}-.0837377{col 70}{space 3}  .091998
{txt}L8taut_trade_q4 {c |}{col 17}{res}{space 2}-.0014785{col 29}{space 2} .0948912{col 40}{space 1}   -0.02{col 49}{space 3}0.988{col 57}{space 4}-.1876582{col 70}{space 3} .1847012
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} .0063546{col 29}{space 2} .0008804{col 40}{space 1}    7.22{col 49}{space 3}0.000{col 57}{space 4} .0046272{col 70}{space 3}  .008082
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        sigma_u {c |} {res} .01867393
        {txt}sigma_e {c |} {res} .01488863
            {txt}rho {c |} {res} .61136698{txt}   (fraction of variance due to u_i)
{hline 16}{c BT}{hline 64}

First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    39,679
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,149

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.5294{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.3736{col 63}{txt}avg{col 67}={col 69}{res}      34.5
{txt}     overall = {res}0.5145{col 63}{txt}max{col 67}={col 69}{res}     1,568

{txt}{col 49}F({res}8{txt},{res}1148{txt}){col 67}={col 70}{res}    49.80
{txt}corr(u_i, Xb){col 16}= {res}-0.5317{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 81:(Std. Err. adjusted for {res:1,149} clusters in id)}
{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}L8tautApp_tra~2{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}ncty {c |}{col 17}{res}{space 2} .0000214{col 29}{space 2} .0000236{col 40}{space 1}    0.91{col 49}{space 3}0.365{col 57}{space 4}-.0000249{col 70}{space 3} .0000677
{txt}{space 10}lnP85 {c |}{col 17}{res}{space 2} .0001829{col 29}{space 2} .0000588{col 40}{space 1}    3.11{col 49}{space 3}0.002{col 57}{space 4} .0000675{col 70}{space 3} .0002983
{txt}{space 10}homew {c |}{col 17}{res}{space 2}-.0026177{col 29}{space 2} .0005875{col 40}{space 1}   -4.46{col 49}{space 3}0.000{col 57}{space 4}-.0037705{col 70}{space 3}-.0014649
{txt}{space 7}L8lnPall {c |}{col 17}{res}{space 2}-.0014232{col 29}{space 2} .0008774{col 40}{space 1}   -1.62{col 49}{space 3}0.105{col 57}{space 4}-.0031448{col 70}{space 3} .0002983
{txt}{space 9}L8taut {c |}{col 17}{res}{space 2} .0081238{col 29}{space 2} .0036908{col 40}{space 1}    2.20{col 49}{space 3}0.028{col 57}{space 4} .0008824{col 70}{space 3} .0153652
{txt}L8taut_trade_q2 {c |}{col 17}{res}{space 2} .9472038{col 29}{space 2} .0575593{col 40}{space 1}   16.46{col 49}{space 3}0.000{col 57}{space 4} .8342707{col 70}{space 3} 1.060137
{txt}L8taut_trade_q3 {c |}{col 17}{res}{space 2}-.0034944{col 29}{space 2} .0023269{col 40}{space 1}   -1.50{col 49}{space 3}0.133{col 57}{space 4}-.0080598{col 70}{space 3}  .001071
{txt}L8taut_trade_q4 {c |}{col 17}{res}{space 2}-.0059703{col 29}{space 2} .0030135{col 40}{space 1}   -1.98{col 49}{space 3}0.048{col 57}{space 4}-.0118829{col 70}{space 3}-.0000578
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} .0035982{col 29}{space 2} .0005597{col 40}{space 1}    6.43{col 49}{space 3}0.000{col 57}{space 4} .0025001{col 70}{space 3} .0046964
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        sigma_u {c |} {res} .01056433
        {txt}sigma_e {c |} {res}  .0097371
            {txt}rho {c |} {res} .54067983{txt}   (fraction of variance due to u_i)
{hline 16}{c BT}{hline 64}

First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    39,679
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,149

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.5621{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.5927{col 63}{txt}avg{col 67}={col 69}{res}      34.5
{txt}     overall = {res}0.5408{col 63}{txt}max{col 67}={col 69}{res}     1,568

{txt}{col 49}F({res}8{txt},{res}1148{txt}){col 67}={col 70}{res}    86.77
{txt}corr(u_i, Xb){col 16}= {res}-0.5531{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 81:(Std. Err. adjusted for {res:1,149} clusters in id)}
{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}L8tautApp_tra~3{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}ncty {c |}{col 17}{res}{space 2}-.0000638{col 29}{space 2} .0000131{col 40}{space 1}   -4.88{col 49}{space 3}0.000{col 57}{space 4}-.0000895{col 70}{space 3}-.0000382
{txt}{space 10}lnP85 {c |}{col 17}{res}{space 2} .0001247{col 29}{space 2}  .000033{col 40}{space 1}    3.78{col 49}{space 3}0.000{col 57}{space 4}   .00006{col 70}{space 3} .0001895
{txt}{space 10}homew {c |}{col 17}{res}{space 2}-.0005623{col 29}{space 2} .0001468{col 40}{space 1}   -3.83{col 49}{space 3}0.000{col 57}{space 4}-.0008504{col 70}{space 3}-.0002743
{txt}{space 7}L8lnPall {c |}{col 17}{res}{space 2} .0000899{col 29}{space 2} .0002764{col 40}{space 1}    0.33{col 49}{space 3}0.745{col 57}{space 4}-.0004523{col 70}{space 3} .0006321
{txt}{space 9}L8taut {c |}{col 17}{res}{space 2} .0019505{col 29}{space 2} .0009513{col 40}{space 1}    2.05{col 49}{space 3}0.041{col 57}{space 4}  .000084{col 70}{space 3} .0038171
{txt}L8taut_trade_q2 {c |}{col 17}{res}{space 2}-.0003704{col 29}{space 2} .0003575{col 40}{space 1}   -1.04{col 49}{space 3}0.300{col 57}{space 4}-.0010719{col 70}{space 3}  .000331
{txt}L8taut_trade_q3 {c |}{col 17}{res}{space 2} .9187223{col 29}{space 2} .0382382{col 40}{space 1}   24.03{col 49}{space 3}0.000{col 57}{space 4} .8436976{col 70}{space 3}  .993747
{txt}L8taut_trade_q4 {c |}{col 17}{res}{space 2}-.0015949{col 29}{space 2}  .000707{col 40}{space 1}   -2.26{col 49}{space 3}0.024{col 57}{space 4} -.002982{col 70}{space 3}-.0002078
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} .0014064{col 29}{space 2} .0001695{col 40}{space 1}    8.30{col 49}{space 3}0.000{col 57}{space 4} .0010737{col 70}{space 3}  .001739
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        sigma_u {c |} {res} .01358359
        {txt}sigma_e {c |} {res} .00564043
            {txt}rho {c |} {res} .85293446{txt}   (fraction of variance due to u_i)
{hline 16}{c BT}{hline 64}

First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    39,679
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,149

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.6027{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.7698{col 63}{txt}avg{col 67}={col 69}{res}      34.5
{txt}     overall = {res}0.6008{col 63}{txt}max{col 67}={col 69}{res}     1,568

{txt}{col 49}F({res}8{txt},{res}1148{txt}){col 67}={col 70}{res}    30.34
{txt}corr(u_i, Xb){col 16}= {res}-0.6305{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 81:(Std. Err. adjusted for {res:1,149} clusters in id)}
{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}L8tautApp_tra~4{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}ncty {c |}{col 17}{res}{space 2}-9.59e-06{col 29}{space 2} 4.39e-06{col 40}{space 1}   -2.18{col 49}{space 3}0.029{col 57}{space 4}-.0000182{col 70}{space 3}-9.73e-07
{txt}{space 10}lnP85 {c |}{col 17}{res}{space 2}  .000033{col 29}{space 2} .0000157{col 40}{space 1}    2.10{col 49}{space 3}0.036{col 57}{space 4} 2.19e-06{col 70}{space 3} .0000638
{txt}{space 10}homew {c |}{col 17}{res}{space 2} -.000095{col 29}{space 2}  .000037{col 40}{space 1}   -2.57{col 49}{space 3}0.010{col 57}{space 4}-.0001676{col 70}{space 3}-.0000225
{txt}{space 7}L8lnPall {c |}{col 17}{res}{space 2}-.0002023{col 29}{space 2}  .000115{col 40}{space 1}   -1.76{col 49}{space 3}0.079{col 57}{space 4}-.0004279{col 70}{space 3} .0000233
{txt}{space 9}L8taut {c |}{col 17}{res}{space 2}-.0002378{col 29}{space 2} .0003085{col 40}{space 1}   -0.77{col 49}{space 3}0.441{col 57}{space 4}-.0008431{col 70}{space 3} .0003675
{txt}L8taut_trade_q2 {c |}{col 17}{res}{space 2}-.0000172{col 29}{space 2} .0000778{col 40}{space 1}   -0.22{col 49}{space 3}0.825{col 57}{space 4}-.0001699{col 70}{space 3} .0001354
{txt}L8taut_trade_q3 {c |}{col 17}{res}{space 2} .0000288{col 29}{space 2} .0001385{col 40}{space 1}    0.21{col 49}{space 3}0.835{col 57}{space 4} -.000243{col 70}{space 3} .0003006
{txt}L8taut_trade_q4 {c |}{col 17}{res}{space 2} .9167396{col 29}{space 2} .0915054{col 40}{space 1}   10.02{col 49}{space 3}0.000{col 57}{space 4}  .737203{col 70}{space 3} 1.096276
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} .0004438{col 29}{space 2} .0000799{col 40}{space 1}    5.55{col 49}{space 3}0.000{col 57}{space 4} .0002869{col 70}{space 3} .0006006
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        sigma_u {c |} {res} .00528109
        {txt}sigma_e {c |} {res} .00244958
            {txt}rho {c |} {res} .82294503{txt}   (fraction of variance due to u_i)
{hline 16}{c BT}{hline 64}
{res}
{txt}Fixed-effects (within) IV regression{col 49}Number of obs{col 67}={col 69}{res}    39,679
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,149

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0264{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0107{col 63}{txt}avg{col 67}={col 69}{res}      34.5
{txt}     overall = {res}0.0237{col 63}{txt}max{col 67}={col 69}{res}     1,568


{txt}{col 49}Wald chi2({res}8{txt}){col 67}={col 70}{res} 16015.24
{txt}corr(u_i, Xb){col 16}= {res}-0.1428{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{ralign 84:(Std. Err. adjusted for {res:1,149} clusters in id)}
{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 20}{c |}{col 32}    Robust
{col 1}             L8lnP{col 20}{c |}      Coef.{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}L8tautApp {c |}{col 20}{res}{space 2}-3.283126{col 32}{space 2} .5871401{col 43}{space 1}   -5.59{col 52}{space 3}0.000{col 60}{space 4}  -4.4339{col 73}{space 3}-2.132353
{txt}L8tautApp_trade_q2 {c |}{col 20}{res}{space 2} 1.175513{col 32}{space 2} .6738897{col 43}{space 1}    1.74{col 52}{space 3}0.081{col 60}{space 4}-.1452866{col 73}{space 3} 2.496313
{txt}L8tautApp_trade_q3 {c |}{col 20}{res}{space 2} 2.337599{col 32}{space 2} .8122625{col 43}{space 1}    2.88{col 52}{space 3}0.004{col 60}{space 4} .7455934{col 73}{space 3} 3.929604
{txt}L8tautApp_trade_q4 {c |}{col 20}{res}{space 2} 2.626388{col 32}{space 2} .8409443{col 43}{space 1}    3.12{col 52}{space 3}0.002{col 60}{space 4} .9781675{col 73}{space 3} 4.274609
{txt}{space 14}ncty {c |}{col 20}{res}{space 2}-.0034828{col 32}{space 2} .0014808{col 43}{space 1}   -2.35{col 52}{space 3}0.019{col 60}{space 4}-.0063851{col 73}{space 3}-.0005806
{txt}{space 13}lnP85 {c |}{col 20}{res}{space 2}-.0363512{col 32}{space 2} .0066905{col 43}{space 1}   -5.43{col 52}{space 3}0.000{col 60}{space 4}-.0494644{col 73}{space 3}-.0232381
{txt}{space 13}homew {c |}{col 20}{res}{space 2} .1647755{col 32}{space 2} .0242711{col 43}{space 1}    6.79{col 52}{space 3}0.000{col 60}{space 4}  .117205{col 73}{space 3}  .212346
{txt}{space 10}L8lnPall {c |}{col 20}{res}{space 2} .2476782{col 32}{space 2} .0398311{col 43}{space 1}    6.22{col 52}{space 3}0.000{col 60}{space 4} .1696106{col 73}{space 3} .3257458
{txt}{space 13}_cons {c |}{col 20}{res}{space 2} .2688529{col 32}{space 2} .0190101{col 43}{space 1}   14.14{col 52}{space 3}0.000{col 60}{space 4} .2315938{col 73}{space 3}  .306112
{txt}{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           sigma_u {c |} {res} .30041012
           {txt}sigma_e {c |} {res} .49903626
               {txt}rho {c |} {res} .26599071{txt}   (fraction of variance due to u_i)
{hline 19}{c BT}{hline 64}
{p 0 16 80}Instrumented:{space 3}L8tautApp L8tautApp_trade_q2 L8tautApp_trade_q3 L8tautApp_trade_q4{p_end}
{p 0 16 80}Instruments:{space 4}ncty lnP85 homew L8lnPall L8taut L8taut_trade_q2 L8taut_trade_q3 L8taut_trade_q4{p_end}
{hline 84}

{com}. 
. // Country heterogeneity: Country's ex-ante patent stock 
. xtivreg $yy $c L8lnPall ($x ${c -(}x{c )-}_Pctry_q2 ${c -(}x{c )-}_Pctry_q3 ${c -(}x{c )-}_Pctry_q4 = $z ${c -(}z{c )-}_Pctry_q2 ///
>     ${c -(}z{c )-}_Pctry_q3 ${c -(}z{c )-}_Pctry_q4) if y==2000 & $iff, fe i(id) $vce first

{txt}First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    40,805
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,315

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.6644{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.6968{col 63}{txt}avg{col 67}={col 69}{res}      31.0
{txt}     overall = {res}0.6524{col 63}{txt}max{col 67}={col 69}{res}     1,568

{txt}{col 49}F({res}8{txt},{res}1314{txt}){col 67}={col 70}{res} 1.30e+08
{txt}corr(u_i, Xb){col 16}= {res}-0.1727{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 81:(Std. Err. adjusted for {res:1,315} clusters in id)}
{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}      L8tautApp{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}ncty {c |}{col 17}{res}{space 2}-.0002111{col 29}{space 2} .0000415{col 40}{space 1}   -5.09{col 49}{space 3}0.000{col 57}{space 4}-.0002925{col 70}{space 3}-.0001298
{txt}{space 10}lnP85 {c |}{col 17}{res}{space 2}  .000037{col 29}{space 2} .0001458{col 40}{space 1}    0.25{col 49}{space 3}0.800{col 57}{space 4}-.0002491{col 70}{space 3} .0003231
{txt}{space 10}homew {c |}{col 17}{res}{space 2}-.0009822{col 29}{space 2} .0010617{col 40}{space 1}   -0.93{col 49}{space 3}0.355{col 57}{space 4} -.003065{col 70}{space 3} .0011005
{txt}{space 7}L8lnPall {c |}{col 17}{res}{space 2} .0001627{col 29}{space 2} .0018511{col 40}{space 1}    0.09{col 49}{space 3}0.930{col 57}{space 4}-.0034687{col 70}{space 3} .0037942
{txt}{space 9}L8taut {c |}{col 17}{res}{space 2} .9995218{col 29}{space 2} .0052316{col 40}{space 1}  191.06{col 49}{space 3}0.000{col 57}{space 4} .9892587{col 70}{space 3} 1.009785
{txt}L8taut_Pctry_q2 {c |}{col 17}{res}{space 2} -.029381{col 29}{space 2} .0431788{col 40}{space 1}   -0.68{col 49}{space 3}0.496{col 57}{space 4}-.1140879{col 70}{space 3} .0553259
{txt}L8taut_Pctry_q3 {c |}{col 17}{res}{space 2} .0168826{col 29}{space 2} .0281958{col 40}{space 1}    0.60{col 49}{space 3}0.549{col 57}{space 4} -.038431{col 70}{space 3} .0721962
{txt}L8taut_Pctry_q4 {c |}{col 17}{res}{space 2}-.0722951{col 29}{space 2} .0268974{col 40}{space 1}   -2.69{col 49}{space 3}0.007{col 57}{space 4}-.1250616{col 70}{space 3}-.0195287
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} .0062744{col 29}{space 2} .0008466{col 40}{space 1}    7.41{col 49}{space 3}0.000{col 57}{space 4} .0046136{col 70}{space 3} .0079352
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        sigma_u {c |} {res} .01898518
        {txt}sigma_e {c |} {res} .01495732
            {txt}rho {c |} {res} .61701932{txt}   (fraction of variance due to u_i)
{hline 16}{c BT}{hline 64}

First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    40,805
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,315

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.8741{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.9381{col 63}{txt}avg{col 67}={col 69}{res}      31.0
{txt}     overall = {res}0.9555{col 63}{txt}max{col 67}={col 69}{res}     1,568

{txt}{col 49}F({res}8{txt},{res}1314{txt}){col 67}={col 70}{res}   204.78
{txt}corr(u_i, Xb){col 16}= {res}0.2300{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 81:(Std. Err. adjusted for {res:1,315} clusters in id)}
{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}L8tautApp_Pct~2{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}ncty {c |}{col 17}{res}{space 2}-5.09e-07{col 29}{space 2} 4.15e-07{col 40}{space 1}   -1.23{col 49}{space 3}0.220{col 57}{space 4}-1.32e-06{col 70}{space 3} 3.05e-07
{txt}{space 10}lnP85 {c |}{col 17}{res}{space 2} 1.69e-06{col 29}{space 2} 1.14e-06{col 40}{space 1}    1.49{col 49}{space 3}0.137{col 57}{space 4}-5.41e-07{col 70}{space 3} 3.92e-06
{txt}{space 10}homew {c |}{col 17}{res}{space 2}-2.52e-06{col 29}{space 2} 1.66e-06{col 40}{space 1}   -1.52{col 49}{space 3}0.129{col 57}{space 4}-5.78e-06{col 70}{space 3} 7.36e-07
{txt}{space 7}L8lnPall {c |}{col 17}{res}{space 2} 3.40e-06{col 29}{space 2} 3.66e-06{col 40}{space 1}    0.93{col 49}{space 3}0.353{col 57}{space 4}-3.78e-06{col 70}{space 3} .0000106
{txt}{space 9}L8taut {c |}{col 17}{res}{space 2}-.0000104{col 29}{space 2} .0000105{col 40}{space 1}   -0.99{col 49}{space 3}0.321{col 57}{space 4} -.000031{col 70}{space 3} .0000102
{txt}L8taut_Pctry_q2 {c |}{col 17}{res}{space 2} .9744737{col 29}{space 2} .0407535{col 40}{space 1}   23.91{col 49}{space 3}0.000{col 57}{space 4} .8945248{col 70}{space 3} 1.054423
{txt}L8taut_Pctry_q3 {c |}{col 17}{res}{space 2} .0000122{col 29}{space 2} .0000194{col 40}{space 1}    0.63{col 49}{space 3}0.531{col 57}{space 4}-.0000259{col 70}{space 3} .0000502
{txt}L8taut_Pctry_q4 {c |}{col 17}{res}{space 2} .0000139{col 29}{space 2} .0000192{col 40}{space 1}    0.72{col 49}{space 3}0.469{col 57}{space 4}-.0000238{col 70}{space 3} .0000516
{txt}{space 10}_cons {c |}{col 17}{res}{space 2}-.0000118{col 29}{space 2} 2.49e-06{col 40}{space 1}   -4.73{col 49}{space 3}0.000{col 57}{space 4}-.0000167{col 70}{space 3}-6.89e-06
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        sigma_u {c |} {res} .00339737
        {txt}sigma_e {c |} {res} .00029857
            {txt}rho {c |} {res} .99233564{txt}   (fraction of variance due to u_i)
{hline 16}{c BT}{hline 64}

First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    40,805
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,315

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.7407{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.8232{col 63}{txt}avg{col 67}={col 69}{res}      31.0
{txt}     overall = {res}0.8161{col 63}{txt}max{col 67}={col 69}{res}     1,568

{txt}{col 49}F({res}8{txt},{res}1314{txt}){col 67}={col 70}{res}   207.35
{txt}corr(u_i, Xb){col 16}= {res}-0.2948{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 81:(Std. Err. adjusted for {res:1,315} clusters in id)}
{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}L8tautApp_Pct~3{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}ncty {c |}{col 17}{res}{space 2}-.0000203{col 29}{space 2} 8.81e-06{col 40}{space 1}   -2.30{col 49}{space 3}0.021{col 57}{space 4}-.0000376{col 70}{space 3}-3.02e-06
{txt}{space 10}lnP85 {c |}{col 17}{res}{space 2} .0000396{col 29}{space 2} .0000171{col 40}{space 1}    2.31{col 49}{space 3}0.021{col 57}{space 4} 6.04e-06{col 70}{space 3} .0000732
{txt}{space 10}homew {c |}{col 17}{res}{space 2}-.0001348{col 29}{space 2} .0000903{col 40}{space 1}   -1.49{col 49}{space 3}0.136{col 57}{space 4} -.000312{col 70}{space 3} .0000424
{txt}{space 7}L8lnPall {c |}{col 17}{res}{space 2}-.0003373{col 29}{space 2} .0001848{col 40}{space 1}   -1.83{col 49}{space 3}0.068{col 57}{space 4}-.0006998{col 70}{space 3} .0000252
{txt}{space 9}L8taut {c |}{col 17}{res}{space 2}  .000941{col 29}{space 2} .0005228{col 40}{space 1}    1.80{col 49}{space 3}0.072{col 57}{space 4}-.0000846{col 70}{space 3} .0019666
{txt}L8taut_Pctry_q2 {c |}{col 17}{res}{space 2}-.0030227{col 29}{space 2}  .001479{col 40}{space 1}   -2.04{col 49}{space 3}0.041{col 57}{space 4}-.0059241{col 70}{space 3}-.0001213
{txt}L8taut_Pctry_q3 {c |}{col 17}{res}{space 2} 1.013274{col 29}{space 2}  .026634{col 40}{space 1}   38.04{col 49}{space 3}0.000{col 57}{space 4} .9610242{col 70}{space 3} 1.065524
{txt}L8taut_Pctry_q4 {c |}{col 17}{res}{space 2}-.0013076{col 29}{space 2} .0010024{col 40}{space 1}   -1.30{col 49}{space 3}0.192{col 57}{space 4}-.0032741{col 70}{space 3}  .000659
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} .0004757{col 29}{space 2} .0000882{col 40}{space 1}    5.40{col 49}{space 3}0.000{col 57}{space 4} .0003028{col 70}{space 3} .0006487
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        sigma_u {c |} {res} .00935816
        {txt}sigma_e {c |} {res} .00327759
            {txt}rho {c |} {res} .89073574{txt}   (fraction of variance due to u_i)
{hline 16}{c BT}{hline 64}

First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    40,805
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,315

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.6591{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.6151{col 63}{txt}avg{col 67}={col 69}{res}      31.0
{txt}     overall = {res}0.6273{col 63}{txt}max{col 67}={col 69}{res}     1,568

{txt}{col 49}F({res}8{txt},{res}1314{txt}){col 67}={col 70}{res}   571.77
{txt}corr(u_i, Xb){col 16}= {res}-0.1994{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 81:(Std. Err. adjusted for {res:1,315} clusters in id)}
{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}L8tautApp_Pct~4{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}ncty {c |}{col 17}{res}{space 2}-.0001903{col 29}{space 2} .0000411{col 40}{space 1}   -4.63{col 49}{space 3}0.000{col 57}{space 4} -.000271{col 70}{space 3}-.0001096
{txt}{space 10}lnP85 {c |}{col 17}{res}{space 2}-4.34e-06{col 29}{space 2} .0001429{col 40}{space 1}   -0.03{col 49}{space 3}0.976{col 57}{space 4}-.0002847{col 70}{space 3}  .000276
{txt}{space 10}homew {c |}{col 17}{res}{space 2}-.0008449{col 29}{space 2} .0010528{col 40}{space 1}   -0.80{col 49}{space 3}0.422{col 57}{space 4}-.0029104{col 70}{space 3} .0012205
{txt}{space 7}L8lnPall {c |}{col 17}{res}{space 2} .0004966{col 29}{space 2} .0018341{col 40}{space 1}    0.27{col 49}{space 3}0.787{col 57}{space 4}-.0031015{col 70}{space 3} .0040947
{txt}{space 9}L8taut {c |}{col 17}{res}{space 2}-.0014088{col 29}{space 2} .0051839{col 40}{space 1}   -0.27{col 49}{space 3}0.786{col 57}{space 4}-.0115784{col 70}{space 3} .0087608
{txt}L8taut_Pctry_q2 {c |}{col 17}{res}{space 2} -.000832{col 29}{space 2}  .013826{col 40}{space 1}   -0.06{col 49}{space 3}0.952{col 57}{space 4}-.0279554{col 70}{space 3} .0262915
{txt}L8taut_Pctry_q3 {c |}{col 17}{res}{space 2} .0035964{col 29}{space 2} .0094329{col 40}{space 1}    0.38{col 49}{space 3}0.703{col 57}{space 4}-.0149089{col 70}{space 3} .0221016
{txt}L8taut_Pctry_q4 {c |}{col 17}{res}{space 2} .9289985{col 29}{space 2} .0268577{col 40}{space 1}   34.59{col 49}{space 3}0.000{col 57}{space 4}   .87631{col 70}{space 3} .9816871
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} .0058105{col 29}{space 2} .0008362{col 40}{space 1}    6.95{col 49}{space 3}0.000{col 57}{space 4}   .00417{col 70}{space 3}  .007451
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        sigma_u {c |} {res} .01628781
        {txt}sigma_e {c |} {res} .01459231
            {txt}rho {c |} {res} .55474068{txt}   (fraction of variance due to u_i)
{hline 16}{c BT}{hline 64}
{res}
{txt}Fixed-effects (within) IV regression{col 49}Number of obs{col 67}={col 69}{res}    40,805
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,315

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0235{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0011{col 63}{txt}avg{col 67}={col 69}{res}      31.0
{txt}     overall = {res}0.0176{col 63}{txt}max{col 67}={col 69}{res}     1,568


{txt}{col 49}Wald chi2({res}9{txt}){col 67}={col 70}{res} 29948.61
{txt}corr(u_i, Xb){col 16}= {res}-0.2788{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{ralign 84:(Std. Err. adjusted for {res:1,315} clusters in id)}
{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 20}{c |}{col 32}    Robust
{col 1}             L8lnP{col 20}{c |}      Coef.{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}L8tautApp {c |}{col 20}{res}{space 2} 52.28854{col 32}{space 2} .4529353{col 43}{space 1}  115.44{col 52}{space 3}0.000{col 60}{space 4}  51.4008{col 73}{space 3} 53.17628
{txt}L8tautApp_Pctry_q2 {c |}{col 20}{res}{space 2}-48.53011{col 32}{space 2} 2.194843{col 43}{space 1}  -22.11{col 52}{space 3}0.000{col 60}{space 4}-52.83193{col 73}{space 3} -44.2283
{txt}L8tautApp_Pctry_q3 {c |}{col 20}{res}{space 2}-54.28121{col 32}{space 2}  .653289{col 43}{space 1}  -83.09{col 52}{space 3}0.000{col 60}{space 4}-55.56163{col 73}{space 3}-53.00079
{txt}L8tautApp_Pctry_q4 {c |}{col 20}{res}{space 2}-54.96655{col 32}{space 2} .6714486{col 43}{space 1}  -81.86{col 52}{space 3}0.000{col 60}{space 4}-56.28256{col 73}{space 3}-53.65053
{txt}{space 14}ncty {c |}{col 20}{res}{space 2}-.0030438{col 32}{space 2} .0014834{col 43}{space 1}   -2.05{col 52}{space 3}0.040{col 60}{space 4}-.0059512{col 73}{space 3}-.0001363
{txt}{space 13}lnP85 {c |}{col 20}{res}{space 2}-.0386599{col 32}{space 2} .0065291{col 43}{space 1}   -5.92{col 52}{space 3}0.000{col 60}{space 4}-.0514566{col 73}{space 3}-.0258631
{txt}{space 13}homew {c |}{col 20}{res}{space 2} .1586598{col 32}{space 2} .0244049{col 43}{space 1}    6.50{col 52}{space 3}0.000{col 60}{space 4}  .110827{col 73}{space 3} .2064925
{txt}{space 10}L8lnPall {c |}{col 20}{res}{space 2}  .249574{col 32}{space 2} .0387698{col 43}{space 1}    6.44{col 52}{space 3}0.000{col 60}{space 4} .1735866{col 73}{space 3} .3255614
{txt}{space 13}_cons {c |}{col 20}{res}{space 2}  .273969{col 32}{space 2} .0185984{col 43}{space 1}   14.73{col 52}{space 3}0.000{col 60}{space 4} .2375168{col 73}{space 3} .3104212
{txt}{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           sigma_u {c |} {res} .41517988
           {txt}sigma_e {c |} {res} .49745949
               {txt}rho {c |} {res} .41057122{txt}   (fraction of variance due to u_i)
{hline 19}{c BT}{hline 64}
{p 0 16 80}Instrumented:{space 3}L8tautApp L8tautApp_Pctry_q2 L8tautApp_Pctry_q3 L8tautApp_Pctry_q4{p_end}
{p 0 16 80}Instruments:{space 4}ncty lnP85 homew L8lnPall L8taut L8taut_Pctry_q2 L8taut_Pctry_q3 L8taut_Pctry_q4{p_end}
{hline 84}

{com}. 
. // Firm level heterogemeity: Ex-ante firm size
. // Quartiles of firm size (within industry and country)
. xtivreg $yy $c L8lnPall i.size1_quart ($x ${c -(}x{c )-}_size1_q2 ${c -(}x{c )-}_size1_q3 ${c -(}x{c )-}_size1_q4 = $z ///
>     ${c -(}z{c )-}_size1_q2 ${c -(}z{c )-}_size1_q3 ${c -(}z{c )-}_size1_q4) if y==2000 & $iff, fe i(id) $vce first

{txt}First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    40,805
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,315

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.6648{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.6765{col 63}{txt}avg{col 67}={col 69}{res}      31.0
{txt}     overall = {res}0.6505{col 63}{txt}max{col 67}={col 69}{res}     1,568

{txt}{col 49}F({res}11{txt},{res}1314{txt}){col 67}={col 70}{res}   647.80
{txt}corr(u_i, Xb){col 16}= {res}-0.1550{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 81:(Std. Err. adjusted for {res:1,315} clusters in id)}
{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}      L8tautApp{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}ncty {c |}{col 17}{res}{space 2}-.0001982{col 29}{space 2} .0000457{col 40}{space 1}   -4.34{col 49}{space 3}0.000{col 57}{space 4}-.0002878{col 70}{space 3}-.0001085
{txt}{space 10}lnP85 {c |}{col 17}{res}{space 2} .0005971{col 29}{space 2} .0001336{col 40}{space 1}    4.47{col 49}{space 3}0.000{col 57}{space 4} .0003351{col 70}{space 3} .0008592
{txt}{space 10}homew {c |}{col 17}{res}{space 2}-.0013118{col 29}{space 2} .0011036{col 40}{space 1}   -1.19{col 49}{space 3}0.235{col 57}{space 4}-.0034769{col 70}{space 3} .0008532
{txt}{space 7}L8lnPall {c |}{col 17}{res}{space 2} .0000473{col 29}{space 2} .0018621{col 40}{space 1}    0.03{col 49}{space 3}0.980{col 57}{space 4}-.0036058{col 70}{space 3} .0037004
{txt}{space 15} {c |}
{space 4}size1_quart {c |}
{space 13}2  {c |}{col 17}{res}{space 2} .0011677{col 29}{space 2} .0012925{col 40}{space 1}    0.90{col 49}{space 3}0.366{col 57}{space 4}-.0013679{col 70}{space 3} .0037033
{txt}{space 13}3  {c |}{col 17}{res}{space 2} .0003006{col 29}{space 2}   .00054{col 40}{space 1}    0.56{col 49}{space 3}0.578{col 57}{space 4}-.0007587{col 70}{space 3} .0013599
{txt}{space 13}4  {c |}{col 17}{res}{space 2}-.0012276{col 29}{space 2} .0006582{col 40}{space 1}   -1.87{col 49}{space 3}0.062{col 57}{space 4}-.0025189{col 70}{space 3} .0000636
{txt}{space 15} {c |}
{space 9}L8taut {c |}{col 17}{res}{space 2} .9128401{col 29}{space 2} .0233506{col 40}{space 1}   39.09{col 49}{space 3}0.000{col 57}{space 4} .8670316{col 70}{space 3} .9586485
{txt}L8taut_size1_q2 {c |}{col 17}{res}{space 2} .0545492{col 29}{space 2} .0580094{col 40}{space 1}    0.94{col 49}{space 3}0.347{col 57}{space 4} -.059252{col 70}{space 3} .1683504
{txt}L8taut_size1_q3 {c |}{col 17}{res}{space 2} .0443008{col 29}{space 2} .0203952{col 40}{space 1}    2.17{col 49}{space 3}0.030{col 57}{space 4} .0042901{col 70}{space 3} .0843114
{txt}L8taut_size1_q4 {c |}{col 17}{res}{space 2} .0282597{col 29}{space 2} .0203609{col 40}{space 1}    1.39{col 49}{space 3}0.165{col 57}{space 4}-.0116838{col 70}{space 3} .0682032
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} .0059214{col 29}{space 2} .0007931{col 40}{space 1}    7.47{col 49}{space 3}0.000{col 57}{space 4} .0043655{col 70}{space 3} .0074774
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        sigma_u {c |} {res}  .0193932
        {txt}sigma_e {c |} {res} .01494988
            {txt}rho {c |} {res} .62725027{txt}   (fraction of variance due to u_i)
{hline 16}{c BT}{hline 64}

First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    40,805
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,315

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.6585{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.3206{col 63}{txt}avg{col 67}={col 69}{res}      31.0
{txt}     overall = {res}0.6323{col 63}{txt}max{col 67}={col 69}{res}     1,568

{txt}{col 49}F({res}11{txt},{res}1314{txt}){col 67}={col 70}{res}   140.27
{txt}corr(u_i, Xb){col 16}= {res}-0.1850{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 81:(Std. Err. adjusted for {res:1,315} clusters in id)}
{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}L8tautApp_~1_q2{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}ncty {c |}{col 17}{res}{space 2}-3.19e-06{col 29}{space 2} .0000172{col 40}{space 1}   -0.19{col 49}{space 3}0.853{col 57}{space 4}-.0000369{col 70}{space 3} .0000305
{txt}{space 10}lnP85 {c |}{col 17}{res}{space 2} .0002691{col 29}{space 2} .0000582{col 40}{space 1}    4.62{col 49}{space 3}0.000{col 57}{space 4} .0001549{col 70}{space 3} .0003832
{txt}{space 10}homew {c |}{col 17}{res}{space 2}-.0000288{col 29}{space 2} .0004207{col 40}{space 1}   -0.07{col 49}{space 3}0.945{col 57}{space 4} -.000854{col 70}{space 3} .0007965
{txt}{space 7}L8lnPall {c |}{col 17}{res}{space 2} .0000221{col 29}{space 2}  .000408{col 40}{space 1}    0.05{col 49}{space 3}0.957{col 57}{space 4}-.0007783{col 70}{space 3} .0008226
{txt}{space 15} {c |}
{space 4}size1_quart {c |}
{space 13}2  {c |}{col 17}{res}{space 2} .0058005{col 29}{space 2}  .001426{col 40}{space 1}    4.07{col 49}{space 3}0.000{col 57}{space 4} .0030029{col 70}{space 3} .0085981
{txt}{space 13}3  {c |}{col 17}{res}{space 2} -.000208{col 29}{space 2} .0001921{col 40}{space 1}   -1.08{col 49}{space 3}0.279{col 57}{space 4}-.0005849{col 70}{space 3} .0001689
{txt}{space 13}4  {c |}{col 17}{res}{space 2}-.0005909{col 29}{space 2} .0001989{col 40}{space 1}   -2.97{col 49}{space 3}0.003{col 57}{space 4} -.000981{col 70}{space 3}-.0002008
{txt}{space 15} {c |}
{space 9}L8taut {c |}{col 17}{res}{space 2} .0060998{col 29}{space 2} .0026474{col 40}{space 1}    2.30{col 49}{space 3}0.021{col 57}{space 4} .0009061{col 70}{space 3} .0112934
{txt}L8taut_size1_q2 {c |}{col 17}{res}{space 2} .9092531{col 29}{space 2} .0640691{col 40}{space 1}   14.19{col 49}{space 3}0.000{col 57}{space 4} .7835643{col 70}{space 3} 1.034942
{txt}L8taut_size1_q3 {c |}{col 17}{res}{space 2} .0107459{col 29}{space 2} .0086488{col 40}{space 1}    1.24{col 49}{space 3}0.214{col 57}{space 4}-.0062212{col 70}{space 3} .0277129
{txt}L8taut_size1_q4 {c |}{col 17}{res}{space 2} .0045522{col 29}{space 2}   .00521{col 40}{space 1}    0.87{col 49}{space 3}0.382{col 57}{space 4}-.0056685{col 70}{space 3}  .014773
{txt}{space 10}_cons {c |}{col 17}{res}{space 2}  .000129{col 29}{space 2} .0002143{col 40}{space 1}    0.60{col 49}{space 3}0.547{col 57}{space 4}-.0002913{col 70}{space 3} .0005493
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        sigma_u {c |} {res} .00996641
        {txt}sigma_e {c |} {res} .00727324
            {txt}rho {c |} {res} .65249816{txt}   (fraction of variance due to u_i)
{hline 16}{c BT}{hline 64}

First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    40,805
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,315

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.7475{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.6104{col 63}{txt}avg{col 67}={col 69}{res}      31.0
{txt}     overall = {res}0.7334{col 63}{txt}max{col 67}={col 69}{res}     1,568

{txt}{col 49}F({res}11{txt},{res}1314{txt}){col 67}={col 70}{res}   308.64
{txt}corr(u_i, Xb){col 16}= {res}-0.0990{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 81:(Std. Err. adjusted for {res:1,315} clusters in id)}
{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}L8tautApp_~1_q3{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}ncty {c |}{col 17}{res}{space 2}-.0000414{col 29}{space 2} .0000188{col 40}{space 1}   -2.20{col 49}{space 3}0.028{col 57}{space 4}-.0000782{col 70}{space 3}-4.49e-06
{txt}{space 10}lnP85 {c |}{col 17}{res}{space 2} .0002226{col 29}{space 2} .0000636{col 40}{space 1}    3.50{col 49}{space 3}0.000{col 57}{space 4} .0000979{col 70}{space 3} .0003473
{txt}{space 10}homew {c |}{col 17}{res}{space 2}-.0005002{col 29}{space 2} .0004251{col 40}{space 1}   -1.18{col 49}{space 3}0.240{col 57}{space 4}-.0013341{col 70}{space 3} .0003337
{txt}{space 7}L8lnPall {c |}{col 17}{res}{space 2}-.0001344{col 29}{space 2} .0004021{col 40}{space 1}   -0.33{col 49}{space 3}0.738{col 57}{space 4}-.0009232{col 70}{space 3} .0006544
{txt}{space 15} {c |}
{space 4}size1_quart {c |}
{space 13}2  {c |}{col 17}{res}{space 2} .0003126{col 29}{space 2} .0003291{col 40}{space 1}    0.95{col 49}{space 3}0.342{col 57}{space 4}-.0003331{col 70}{space 3} .0009583
{txt}{space 13}3  {c |}{col 17}{res}{space 2} .0051453{col 29}{space 2} .0007057{col 40}{space 1}    7.29{col 49}{space 3}0.000{col 57}{space 4} .0037609{col 70}{space 3} .0065297
{txt}{space 13}4  {c |}{col 17}{res}{space 2}-.0000169{col 29}{space 2} .0002159{col 40}{space 1}   -0.08{col 49}{space 3}0.938{col 57}{space 4}-.0004405{col 70}{space 3} .0004067
{txt}{space 15} {c |}
{space 9}L8taut {c |}{col 17}{res}{space 2} .0071379{col 29}{space 2} .0025614{col 40}{space 1}    2.79{col 49}{space 3}0.005{col 57}{space 4}  .002113{col 70}{space 3} .0121628
{txt}L8taut_size1_q2 {c |}{col 17}{res}{space 2} .0217811{col 29}{space 2} .0158584{col 40}{space 1}    1.37{col 49}{space 3}0.170{col 57}{space 4}-.0093294{col 70}{space 3} .0528916
{txt}L8taut_size1_q3 {c |}{col 17}{res}{space 2} .9075315{col 29}{space 2}  .029133{col 40}{space 1}   31.15{col 49}{space 3}0.000{col 57}{space 4} .8503791{col 70}{space 3} .9646838
{txt}L8taut_size1_q4 {c |}{col 17}{res}{space 2}  .012765{col 29}{space 2} .0062828{col 40}{space 1}    2.03{col 49}{space 3}0.042{col 57}{space 4} .0004396{col 70}{space 3} .0250903
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} .0003036{col 29}{space 2} .0001947{col 40}{space 1}    1.56{col 49}{space 3}0.119{col 57}{space 4}-.0000784{col 70}{space 3} .0006856
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        sigma_u {c |} {res} .00581544
        {txt}sigma_e {c |} {res} .00672765
            {txt}rho {c |} {res}  .4276567{txt}   (fraction of variance due to u_i)
{hline 16}{c BT}{hline 64}

First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    40,805
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,315

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.7888{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.7622{col 63}{txt}avg{col 67}={col 69}{res}      31.0
{txt}     overall = {res}0.7841{col 63}{txt}max{col 67}={col 69}{res}     1,568

{txt}{col 49}F({res}11{txt},{res}1314{txt}){col 67}={col 70}{res}   473.45
{txt}corr(u_i, Xb){col 16}= {res}-0.0418{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 81:(Std. Err. adjusted for {res:1,315} clusters in id)}
{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}L8tautApp_~1_q4{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}ncty {c |}{col 17}{res}{space 2}-.0001119{col 29}{space 2} .0000357{col 40}{space 1}   -3.13{col 49}{space 3}0.002{col 57}{space 4}-.0001819{col 70}{space 3}-.0000418
{txt}{space 10}lnP85 {c |}{col 17}{res}{space 2} -.000397{col 29}{space 2} .0001114{col 40}{space 1}   -3.56{col 49}{space 3}0.000{col 57}{space 4}-.0006155{col 70}{space 3}-.0001785
{txt}{space 10}homew {c |}{col 17}{res}{space 2}-.0014518{col 29}{space 2} .0003705{col 40}{space 1}   -3.92{col 49}{space 3}0.000{col 57}{space 4}-.0021788{col 70}{space 3}-.0007249
{txt}{space 7}L8lnPall {c |}{col 17}{res}{space 2}-.0002847{col 29}{space 2} .0002982{col 40}{space 1}   -0.95{col 49}{space 3}0.340{col 57}{space 4}-.0008697{col 70}{space 3} .0003004
{txt}{space 15} {c |}
{space 4}size1_quart {c |}
{space 13}2  {c |}{col 17}{res}{space 2} .0005647{col 29}{space 2} .0001124{col 40}{space 1}    5.02{col 49}{space 3}0.000{col 57}{space 4} .0003441{col 70}{space 3} .0007852
{txt}{space 13}3  {c |}{col 17}{res}{space 2}  .001264{col 29}{space 2}   .00019{col 40}{space 1}    6.65{col 49}{space 3}0.000{col 57}{space 4} .0008912{col 70}{space 3} .0016368
{txt}{space 13}4  {c |}{col 17}{res}{space 2} .0059298{col 29}{space 2} .0005633{col 40}{space 1}   10.53{col 49}{space 3}0.000{col 57}{space 4} .0048246{col 70}{space 3} .0070349
{txt}{space 15} {c |}
{space 9}L8taut {c |}{col 17}{res}{space 2} .0012811{col 29}{space 2}  .001341{col 40}{space 1}    0.96{col 49}{space 3}0.340{col 57}{space 4}-.0013497{col 70}{space 3} .0039119
{txt}L8taut_size1_q2 {c |}{col 17}{res}{space 2} .0050134{col 29}{space 2} .0019988{col 40}{space 1}    2.51{col 49}{space 3}0.012{col 57}{space 4} .0010922{col 70}{space 3} .0089346
{txt}L8taut_size1_q3 {c |}{col 17}{res}{space 2} .0102259{col 29}{space 2} .0040223{col 40}{space 1}    2.54{col 49}{space 3}0.011{col 57}{space 4} .0023351{col 70}{space 3} .0181167
{txt}L8taut_size1_q4 {c |}{col 17}{res}{space 2}   .89569{col 29}{space 2} .0229872{col 40}{space 1}   38.96{col 49}{space 3}0.000{col 57}{space 4} .8505943{col 70}{space 3} .9407856
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} .0004045{col 29}{space 2} .0001361{col 40}{space 1}    2.97{col 49}{space 3}0.003{col 57}{space 4} .0001375{col 70}{space 3} .0006715
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        sigma_u {c |} {res} .00293647
        {txt}sigma_e {c |} {res} .00460064
            {txt}rho {c |} {res} .28946701{txt}   (fraction of variance due to u_i)
{hline 16}{c BT}{hline 64}
{res}
{txt}Fixed-effects (within) IV regression{col 49}Number of obs{col 67}={col 69}{res}    40,805
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,315

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0299{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0073{col 63}{txt}avg{col 67}={col 69}{res}      31.0
{txt}     overall = {res}0.0305{col 63}{txt}max{col 67}={col 69}{res}     1,568


{txt}{col 49}Wald chi2({res}11{txt}){col 67}={col 70}{res} 19654.67
{txt}corr(u_i, Xb){col 16}= {res}-0.1276{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{ralign 84:(Std. Err. adjusted for {res:1,315} clusters in id)}
{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 20}{c |}{col 32}    Robust
{col 1}             L8lnP{col 20}{c |}      Coef.{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}L8tautApp {c |}{col 20}{res}{space 2}-2.697806{col 32}{space 2} .4132247{col 43}{space 1}   -6.53{col 52}{space 3}0.000{col 60}{space 4}-3.507712{col 73}{space 3}-1.887901
{txt}L8tautApp_size1_q2 {c |}{col 20}{res}{space 2} .7630292{col 32}{space 2} .4967748{col 43}{space 1}    1.54{col 52}{space 3}0.125{col 60}{space 4}-.2106316{col 73}{space 3}  1.73669
{txt}L8tautApp_size1_q3 {c |}{col 20}{res}{space 2}-.6654642{col 32}{space 2} .4599114{col 43}{space 1}   -1.45{col 52}{space 3}0.148{col 60}{space 4}-1.566874{col 73}{space 3} .2359456
{txt}L8tautApp_size1_q4 {c |}{col 20}{res}{space 2} .7601131{col 32}{space 2}  .941037{col 43}{space 1}    0.81{col 52}{space 3}0.419{col 60}{space 4}-1.084286{col 73}{space 3} 2.604512
{txt}{space 14}ncty {c |}{col 20}{res}{space 2}-.0026273{col 32}{space 2} .0017448{col 43}{space 1}   -1.51{col 52}{space 3}0.132{col 60}{space 4}-.0060471{col 73}{space 3} .0007924
{txt}{space 13}lnP85 {c |}{col 20}{res}{space 2} .0094029{col 32}{space 2} .0080077{col 43}{space 1}    1.17{col 52}{space 3}0.240{col 60}{space 4}-.0062919{col 73}{space 3} .0250977
{txt}{space 13}homew {c |}{col 20}{res}{space 2} .1826884{col 32}{space 2} .0255974{col 43}{space 1}    7.14{col 52}{space 3}0.000{col 60}{space 4} .1325185{col 73}{space 3} .2328584
{txt}{space 10}L8lnPall {c |}{col 20}{res}{space 2} .2486486{col 32}{space 2} .0374152{col 43}{space 1}    6.65{col 52}{space 3}0.000{col 60}{space 4} .1753161{col 73}{space 3} .3219811
{txt}{space 18} {c |}
{space 7}size1_quart {c |}
{space 16}2  {c |}{col 20}{res}{space 2}-.0765225{col 32}{space 2} .0118608{col 43}{space 1}   -6.45{col 52}{space 3}0.000{col 60}{space 4}-.0997693{col 73}{space 3}-.0532757
{txt}{space 16}3  {c |}{col 20}{res}{space 2}-.1503333{col 32}{space 2} .0141857{col 43}{space 1}  -10.60{col 52}{space 3}0.000{col 60}{space 4}-.1781366{col 73}{space 3}-.1225299
{txt}{space 16}4  {c |}{col 20}{res}{space 2}-.1768873{col 32}{space 2} .0195164{col 43}{space 1}   -9.06{col 52}{space 3}0.000{col 60}{space 4}-.2151387{col 73}{space 3}-.1386359
{txt}{space 18} {c |}
{space 13}_cons {c |}{col 20}{res}{space 2}  .307306{col 32}{space 2} .0174966{col 43}{space 1}   17.56{col 52}{space 3}0.000{col 60}{space 4} .2730133{col 73}{space 3} .3415987
{txt}{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           sigma_u {c |} {res} .31809553
           {txt}sigma_e {c |} {res} .49584518
               {txt}rho {c |} {res} .29155909{txt}   (fraction of variance due to u_i)
{hline 19}{c BT}{hline 64}
{p 0 16 80}Instrumented:{space 3}L8tautApp L8tautApp_size1_q2 L8tautApp_size1_q3 L8tautApp_size1_q4{p_end}
{p 0 16 80}Instruments:{space 4}ncty lnP85 homew L8lnPall 2.size1_quart 3.size1_quart 4.size1_quart L8taut L8taut_size1_q2 L8taut_size1_q3 L8taut_size1_q4{p_end}
{hline 84}

{com}. forvalues i = 2/4 {c -(}
{txt}  2{com}.     test $x ${c -(}x{c )-}_size1_q`i'
{txt}  3{com}. {c )-}

{p 0 7}{space 1}{text:( 1)}{space 1} {res}L8tautApp = 0{p_end}
{p 0 7}{space 1}{text:( 2)}{space 1} L8tautApp_size1_q2 = 0{p_end}

{txt}{col 12}chi2(  2) ={res}   44.17
{txt}{col 10}Prob > chi2 =  {res}  0.0000

{p 0 7}{space 1}{text:( 1)}{space 1} L8tautApp = 0{p_end}
{p 0 7}{space 1}{text:( 2)}{space 1} L8tautApp_size1_q3 = 0{p_end}

{txt}{col 12}chi2(  2) ={res}   51.03
{txt}{col 10}Prob > chi2 =  {res}  0.0000

{p 0 7}{space 1}{text:( 1)}{space 1} L8tautApp = 0{p_end}
{p 0 7}{space 1}{text:( 2)}{space 1} L8tautApp_size1_q4 = 0{p_end}

{txt}{col 12}chi2(  2) ={res}   48.95
{txt}{col 10}Prob > chi2 =  {res}  0.0000
{txt}
{com}. test ${c -(}x{c )-}_size1_q2 ${c -(}x{c )-}_size1_q3

{p 0 7}{space 1}{text:( 1)}{space 1} {res}L8tautApp_size1_q2 = 0{p_end}
{p 0 7}{space 1}{text:( 2)}{space 1} L8tautApp_size1_q3 = 0{p_end}

{txt}{col 12}chi2(  2) ={res}    5.14
{txt}{col 10}Prob > chi2 =  {res}  0.0767
{txt}
{com}. test ${c -(}x{c )-}_size1_q2 ${c -(}x{c )-}_size1_q4

{p 0 7}{space 1}{text:( 1)}{space 1} {res}L8tautApp_size1_q2 = 0{p_end}
{p 0 7}{space 1}{text:( 2)}{space 1} L8tautApp_size1_q4 = 0{p_end}

{txt}{col 12}chi2(  2) ={res}    3.34
{txt}{col 10}Prob > chi2 =  {res}  0.1881
{txt}
{com}. test ${c -(}x{c )-}_size1_q3 ${c -(}x{c )-}_size1_q4

{p 0 7}{space 1}{text:( 1)}{space 1} {res}L8tautApp_size1_q3 = 0{p_end}
{p 0 7}{space 1}{text:( 2)}{space 1} L8tautApp_size1_q4 = 0{p_end}

{txt}{col 12}chi2(  2) ={res}    4.41
{txt}{col 10}Prob > chi2 =  {res}  0.1101
{txt}
{com}. 
. xtivreg $yy $c L8lnPall i.size3_quart ($x ${c -(}x{c )-}_size3_q2 ${c -(}x{c )-}_size3_q3 ${c -(}x{c )-}_size3_q4 = $z ///
>     ${c -(}z{c )-}_size3_q2 ${c -(}z{c )-}_size3_q3 ${c -(}z{c )-}_size3_q4) if y==2000 & $iff, fe i(id) $vce first   

{txt}First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    38,671
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,041

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.5294{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.4967{col 63}{txt}avg{col 67}={col 69}{res}      37.1
{txt}     overall = {res}0.5240{col 63}{txt}max{col 67}={col 69}{res}     1,514

{txt}{col 49}F({res}11{txt},{res}1040{txt}){col 67}={col 70}{res}   350.96
{txt}corr(u_i, Xb){col 16}= {res}-0.1433{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 81:(Std. Err. adjusted for {res:1,041} clusters in id)}
{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}      L8tautApp{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}ncty {c |}{col 17}{res}{space 2}-.0003203{col 29}{space 2} .0000547{col 40}{space 1}   -5.86{col 49}{space 3}0.000{col 57}{space 4}-.0004276{col 70}{space 3} -.000213
{txt}{space 10}lnP85 {c |}{col 17}{res}{space 2} .0002419{col 29}{space 2} .0001464{col 40}{space 1}    1.65{col 49}{space 3}0.099{col 57}{space 4}-.0000454{col 70}{space 3} .0005293
{txt}{space 10}homew {c |}{col 17}{res}{space 2} .0003379{col 29}{space 2} .0012353{col 40}{space 1}    0.27{col 49}{space 3}0.785{col 57}{space 4}-.0020861{col 70}{space 3} .0027619
{txt}{space 7}L8lnPall {c |}{col 17}{res}{space 2} .0006784{col 29}{space 2} .0019688{col 40}{space 1}    0.34{col 49}{space 3}0.730{col 57}{space 4}-.0031849{col 70}{space 3} .0045418
{txt}{space 15} {c |}
{space 4}size3_quart {c |}
{space 13}2  {c |}{col 17}{res}{space 2} -.000086{col 29}{space 2} .0010138{col 40}{space 1}   -0.08{col 49}{space 3}0.932{col 57}{space 4}-.0020754{col 70}{space 3} .0019033
{txt}{space 13}3  {c |}{col 17}{res}{space 2}-.0004157{col 29}{space 2} .0009754{col 40}{space 1}   -0.43{col 49}{space 3}0.670{col 57}{space 4}-.0023296{col 70}{space 3} .0014983
{txt}{space 13}4  {c |}{col 17}{res}{space 2}-.0013178{col 29}{space 2} .0006068{col 40}{space 1}   -2.17{col 49}{space 3}0.030{col 57}{space 4}-.0025084{col 70}{space 3}-.0001272
{txt}{space 15} {c |}
{space 9}L8taut {c |}{col 17}{res}{space 2} .8733787{col 29}{space 2} .0415664{col 40}{space 1}   21.01{col 49}{space 3}0.000{col 57}{space 4}  .791815{col 70}{space 3} .9549423
{txt}L8taut_size3_q2 {c |}{col 17}{res}{space 2}-.0138278{col 29}{space 2} .0451472{col 40}{space 1}   -0.31{col 49}{space 3}0.759{col 57}{space 4}-.1024178{col 70}{space 3} .0747623
{txt}L8taut_size3_q3 {c |}{col 17}{res}{space 2}-.0046711{col 29}{space 2} .0479668{col 40}{space 1}   -0.10{col 49}{space 3}0.922{col 57}{space 4}-.0987937{col 70}{space 3} .0894516
{txt}L8taut_size3_q4 {c |}{col 17}{res}{space 2}-.0584432{col 29}{space 2} .0274531{col 40}{space 1}   -2.13{col 49}{space 3}0.034{col 57}{space 4}-.1123131{col 70}{space 3}-.0045734
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} .0049114{col 29}{space 2} .0012021{col 40}{space 1}    4.09{col 49}{space 3}0.000{col 57}{space 4} .0025526{col 70}{space 3} .0072702
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        sigma_u {c |} {res} .01845846
        {txt}sigma_e {c |} {res} .01499656
            {txt}rho {c |} {res} .60238292{txt}   (fraction of variance due to u_i)
{hline 16}{c BT}{hline 64}

First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    38,671
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,041

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.7393{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.6666{col 63}{txt}avg{col 67}={col 69}{res}      37.1
{txt}     overall = {res}0.7393{col 63}{txt}max{col 67}={col 69}{res}     1,514

{txt}{col 49}F({res}11{txt},{res}1040{txt}){col 67}={col 70}{res}   277.65
{txt}corr(u_i, Xb){col 16}= {res}0.0140{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 81:(Std. Err. adjusted for {res:1,041} clusters in id)}
{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}L8tautApp_~3_q2{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}ncty {c |}{col 17}{res}{space 2}-.0000166{col 29}{space 2} 8.21e-06{col 40}{space 1}   -2.02{col 49}{space 3}0.043{col 57}{space 4}-.0000327{col 70}{space 3}-4.97e-07
{txt}{space 10}lnP85 {c |}{col 17}{res}{space 2}-.0000134{col 29}{space 2} .0000308{col 40}{space 1}   -0.44{col 49}{space 3}0.664{col 57}{space 4}-.0000738{col 70}{space 3}  .000047
{txt}{space 10}homew {c |}{col 17}{res}{space 2} .0012259{col 29}{space 2} .0002618{col 40}{space 1}    4.68{col 49}{space 3}0.000{col 57}{space 4} .0007121{col 70}{space 3} .0017396
{txt}{space 7}L8lnPall {c |}{col 17}{res}{space 2} .0007436{col 29}{space 2} .0002233{col 40}{space 1}    3.33{col 49}{space 3}0.001{col 57}{space 4} .0003054{col 70}{space 3} .0011818
{txt}{space 15} {c |}
{space 4}size3_quart {c |}
{space 13}2  {c |}{col 17}{res}{space 2} .0018414{col 29}{space 2} .0009581{col 40}{space 1}    1.92{col 49}{space 3}0.055{col 57}{space 4}-.0000387{col 70}{space 3} .0037215
{txt}{space 13}3  {c |}{col 17}{res}{space 2}-.0001541{col 29}{space 2} .0000789{col 40}{space 1}   -1.95{col 49}{space 3}0.051{col 57}{space 4}-.0003089{col 70}{space 3} 6.51e-07
{txt}{space 13}4  {c |}{col 17}{res}{space 2}-.0003381{col 29}{space 2} .0001074{col 40}{space 1}   -3.15{col 49}{space 3}0.002{col 57}{space 4}-.0005489{col 70}{space 3}-.0001274
{txt}{space 15} {c |}
{space 9}L8taut {c |}{col 17}{res}{space 2}-.0006105{col 29}{space 2} .0010891{col 40}{space 1}   -0.56{col 49}{space 3}0.575{col 57}{space 4}-.0027476{col 70}{space 3} .0015267
{txt}L8taut_size3_q2 {c |}{col 17}{res}{space 2} .8110705{col 29}{space 2} .0465639{col 40}{space 1}   17.42{col 49}{space 3}0.000{col 57}{space 4} .7197005{col 70}{space 3} .9024404
{txt}L8taut_size3_q3 {c |}{col 17}{res}{space 2}-.0032381{col 29}{space 2} .0026005{col 40}{space 1}   -1.25{col 49}{space 3}0.213{col 57}{space 4}-.0083409{col 70}{space 3} .0018647
{txt}L8taut_size3_q4 {c |}{col 17}{res}{space 2}-.0041656{col 29}{space 2} .0045058{col 40}{space 1}   -0.92{col 49}{space 3}0.355{col 57}{space 4} -.013007{col 70}{space 3} .0046758
{txt}{space 10}_cons {c |}{col 17}{res}{space 2}-.0005521{col 29}{space 2}   .00014{col 40}{space 1}   -3.94{col 49}{space 3}0.000{col 57}{space 4}-.0008268{col 70}{space 3}-.0002774
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        sigma_u {c |} {res}  .0014019
        {txt}sigma_e {c |} {res} .00348794
            {txt}rho {c |} {res} .13907894{txt}   (fraction of variance due to u_i)
{hline 16}{c BT}{hline 64}

First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    38,671
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,041

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.7167{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.2908{col 63}{txt}avg{col 67}={col 69}{res}      37.1
{txt}     overall = {res}0.6784{col 63}{txt}max{col 67}={col 69}{res}     1,514

{txt}{col 49}F({res}11{txt},{res}1040{txt}){col 67}={col 70}{res}   289.16
{txt}corr(u_i, Xb){col 16}= {res}-0.1685{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 81:(Std. Err. adjusted for {res:1,041} clusters in id)}
{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}L8tautApp_~3_q3{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}ncty {c |}{col 17}{res}{space 2}-.0000395{col 29}{space 2} .0000216{col 40}{space 1}   -1.83{col 49}{space 3}0.067{col 57}{space 4}-.0000818{col 70}{space 3} 2.80e-06
{txt}{space 10}lnP85 {c |}{col 17}{res}{space 2} .0000199{col 29}{space 2} .0000456{col 40}{space 1}    0.44{col 49}{space 3}0.663{col 57}{space 4}-.0000696{col 70}{space 3} .0001093
{txt}{space 10}homew {c |}{col 17}{res}{space 2} .0002576{col 29}{space 2} .0004859{col 40}{space 1}    0.53{col 49}{space 3}0.596{col 57}{space 4}-.0006959{col 70}{space 3} .0012111
{txt}{space 7}L8lnPall {c |}{col 17}{res}{space 2} .0006839{col 29}{space 2} .0002728{col 40}{space 1}    2.51{col 49}{space 3}0.012{col 57}{space 4} .0001486{col 70}{space 3} .0012192
{txt}{space 15} {c |}
{space 4}size3_quart {c |}
{space 13}2  {c |}{col 17}{res}{space 2} .0004593{col 29}{space 2} .0002276{col 40}{space 1}    2.02{col 49}{space 3}0.044{col 57}{space 4} .0000127{col 70}{space 3} .0009058
{txt}{space 13}3  {c |}{col 17}{res}{space 2} .0029423{col 29}{space 2} .0012545{col 40}{space 1}    2.35{col 49}{space 3}0.019{col 57}{space 4} .0004807{col 70}{space 3} .0054038
{txt}{space 13}4  {c |}{col 17}{res}{space 2} .0001499{col 29}{space 2} .0002514{col 40}{space 1}    0.60{col 49}{space 3}0.551{col 57}{space 4}-.0003435{col 70}{space 3} .0006432
{txt}{space 15} {c |}
{space 9}L8taut {c |}{col 17}{res}{space 2} .0099585{col 29}{space 2} .0053506{col 40}{space 1}    1.86{col 49}{space 3}0.063{col 57}{space 4}-.0005406{col 70}{space 3} .0204576
{txt}L8taut_size3_q2 {c |}{col 17}{res}{space 2}-.0019933{col 29}{space 2} .0082511{col 40}{space 1}   -0.24{col 49}{space 3}0.809{col 57}{space 4} -.018184{col 70}{space 3} .0141975
{txt}L8taut_size3_q3 {c |}{col 17}{res}{space 2} .7962005{col 29}{space 2} .0655869{col 40}{space 1}   12.14{col 49}{space 3}0.000{col 57}{space 4} .6675028{col 70}{space 3} .9248983
{txt}L8taut_size3_q4 {c |}{col 17}{res}{space 2} .0067014{col 29}{space 2} .0117031{col 40}{space 1}    0.57{col 49}{space 3}0.567{col 57}{space 4}-.0162629{col 70}{space 3} .0296657
{txt}{space 10}_cons {c |}{col 17}{res}{space 2}-.0001833{col 29}{space 2} .0001367{col 40}{space 1}   -1.34{col 49}{space 3}0.180{col 57}{space 4}-.0004515{col 70}{space 3} .0000848
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        sigma_u {c |} {res} .00603688
        {txt}sigma_e {c |} {res} .00468043
            {txt}rho {c |} {res} .62457002{txt}   (fraction of variance due to u_i)
{hline 16}{c BT}{hline 64}

First-stage within regression

Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}    38,671
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,041

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.6938{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.8229{col 63}{txt}avg{col 67}={col 69}{res}      37.1
{txt}     overall = {res}0.6878{col 63}{txt}max{col 67}={col 69}{res}     1,514

{txt}{col 49}F({res}11{txt},{res}1040{txt}){col 67}={col 70}{res}   448.72
{txt}corr(u_i, Xb){col 16}= {res}-0.0033{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 81:(Std. Err. adjusted for {res:1,041} clusters in id)}
{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 17}{c |}{col 29}    Robust
{col 1}L8tautApp_~3_q4{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      t{col 49}   P>|t|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}ncty {c |}{col 17}{res}{space 2}-.0002602{col 29}{space 2} .0000327{col 40}{space 1}   -7.96{col 49}{space 3}0.000{col 57}{space 4}-.0003243{col 70}{space 3}-.0001961
{txt}{space 10}lnP85 {c |}{col 17}{res}{space 2} .0001278{col 29}{space 2} .0000636{col 40}{space 1}    2.01{col 49}{space 3}0.045{col 57}{space 4} 3.03e-06{col 70}{space 3} .0002527
{txt}{space 10}homew {c |}{col 17}{res}{space 2}-.0001619{col 29}{space 2} .0002317{col 40}{space 1}   -0.70{col 49}{space 3}0.485{col 57}{space 4}-.0006166{col 70}{space 3} .0002928
{txt}{space 7}L8lnPall {c |}{col 17}{res}{space 2} .0001082{col 29}{space 2} .0001955{col 40}{space 1}    0.55{col 49}{space 3}0.580{col 57}{space 4}-.0002755{col 70}{space 3} .0004919
{txt}{space 15} {c |}
{space 4}size3_quart {c |}
{space 13}2  {c |}{col 17}{res}{space 2} .0007535{col 29}{space 2} .0001159{col 40}{space 1}    6.50{col 49}{space 3}0.000{col 57}{space 4}  .000526{col 70}{space 3} .0009809
{txt}{space 13}3  {c |}{col 17}{res}{space 2} .0004452{col 29}{space 2} .0000986{col 40}{space 1}    4.52{col 49}{space 3}0.000{col 57}{space 4} .0002518{col 70}{space 3} .0006385
{txt}{space 13}4  {c |}{col 17}{res}{space 2} .0026134{col 29}{space 2} .0004642{col 40}{space 1}    5.63{col 49}{space 3}0.000{col 57}{space 4} .0017024{col 70}{space 3} .0035243
{txt}{space 15} {c |}
{space 9}L8taut {c |}{col 17}{res}{space 2}-.0016283{col 29}{space 2} .0020184{col 40}{space 1}   -0.81{col 49}{space 3}0.420{col 57}{space 4}-.0055889{col 70}{space 3} .0023322
{txt}L8taut_size3_q2 {c |}{col 17}{res}{space 2} .0042228{col 29}{space 2} .0037572{col 40}{space 1}    1.12{col 49}{space 3}0.261{col 57}{space 4}-.0031497{col 70}{space 3} .0115954
{txt}L8taut_size3_q3 {c |}{col 17}{res}{space 2} .0049391{col 29}{space 2} .0039553{col 40}{space 1}    1.25{col 49}{space 3}0.212{col 57}{space 4}-.0028222{col 70}{space 3} .0127004
{txt}L8taut_size3_q4 {c |}{col 17}{res}{space 2} .7310423{col 29}{space 2} .0262144{col 40}{space 1}   27.89{col 49}{space 3}0.000{col 57}{space 4} .6796031{col 70}{space 3} .7824814
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} .0002537{col 29}{space 2}  .000107{col 40}{space 1}    2.37{col 49}{space 3}0.018{col 57}{space 4} .0000438{col 70}{space 3} .0004636
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        sigma_u {c |} {res} .00288033
        {txt}sigma_e {c |} {res} .00429658
            {txt}rho {c |} {res} .31006213{txt}   (fraction of variance due to u_i)
{hline 16}{c BT}{hline 64}
{res}
{txt}Fixed-effects (within) IV regression{col 49}Number of obs{col 67}={col 69}{res}    38,671
{txt}Group variable: {res}id{txt}{col 49}Number of groups{col 67}={col 69}{res}     1,041

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0137{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0091{col 63}{txt}avg{col 67}={col 69}{res}      37.1
{txt}     overall = {res}0.0117{col 63}{txt}max{col 67}={col 69}{res}     1,514


{txt}{col 49}Wald chi2({res}11{txt}){col 67}={col 70}{res} 14124.15
{txt}corr(u_i, Xb){col 16}= {res}-0.1107{col 49}{txt}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{ralign 84:(Std. Err. adjusted for {res:1,041} clusters in id)}
{hline 19}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 20}{c |}{col 32}    Robust
{col 1}             L8lnP{col 20}{c |}      Coef.{col 32}   Std. Err.{col 44}      z{col 52}   P>|z|{col 60}     [95% Con{col 73}f. Interval]
{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}L8tautApp {c |}{col 20}{res}{space 2}-.8288919{col 32}{space 2} .2482965{col 43}{space 1}   -3.34{col 52}{space 3}0.001{col 60}{space 4}-1.315544{col 73}{space 3}-.3422396
{txt}L8tautApp_size3_q2 {c |}{col 20}{res}{space 2} -1.01616{col 32}{space 2} .6554278{col 43}{space 1}   -1.55{col 52}{space 3}0.121{col 60}{space 4}-2.300775{col 73}{space 3} .2684545
{txt}L8tautApp_size3_q3 {c |}{col 20}{res}{space 2} .2797077{col 32}{space 2} .6144945{col 43}{space 1}    0.46{col 52}{space 3}0.649{col 60}{space 4}-.9246793{col 73}{space 3} 1.484095
{txt}L8tautApp_size3_q4 {c |}{col 20}{res}{space 2}  2.39319{col 32}{space 2}  .715861{col 43}{space 1}    3.34{col 52}{space 3}0.001{col 60}{space 4} .9901278{col 73}{space 3} 3.796251
{txt}{space 14}ncty {c |}{col 20}{res}{space 2} .0043561{col 32}{space 2} .0013682{col 43}{space 1}    3.18{col 52}{space 3}0.001{col 60}{space 4} .0016745{col 73}{space 3} .0070377
{txt}{space 13}lnP85 {c |}{col 20}{res}{space 2}-.0492946{col 32}{space 2} .0066512{col 43}{space 1}   -7.41{col 52}{space 3}0.000{col 60}{space 4}-.0623306{col 73}{space 3}-.0362586
{txt}{space 13}homew {c |}{col 20}{res}{space 2} .1383685{col 32}{space 2} .0230967{col 43}{space 1}    5.99{col 52}{space 3}0.000{col 60}{space 4} .0930998{col 73}{space 3} .1836373
{txt}{space 10}L8lnPall {c |}{col 20}{res}{space 2} .2061721{col 32}{space 2}  .032705{col 43}{space 1}    6.30{col 52}{space 3}0.000{col 60}{space 4} .1420716{col 73}{space 3} .2702727
{txt}{space 18} {c |}
{space 7}size3_quart {c |}
{space 16}2  {c |}{col 20}{res}{space 2}-.0889469{col 32}{space 2} .0140321{col 43}{space 1}   -6.34{col 52}{space 3}0.000{col 60}{space 4}-.1164494{col 73}{space 3}-.0614445
{txt}{space 16}3  {c |}{col 20}{res}{space 2}-.0354857{col 32}{space 2}  .009617{col 43}{space 1}   -3.69{col 52}{space 3}0.000{col 60}{space 4}-.0543345{col 73}{space 3}-.0166368
{txt}{space 16}4  {c |}{col 20}{res}{space 2} .0136112{col 32}{space 2}  .011777{col 43}{space 1}    1.16{col 52}{space 3}0.248{col 60}{space 4}-.0094712{col 73}{space 3} .0366937
{txt}{space 18} {c |}
{space 13}_cons {c |}{col 20}{res}{space 2}  .321267{col 32}{space 2} .0157354{col 43}{space 1}   20.42{col 52}{space 3}0.000{col 60}{space 4} .2904261{col 73}{space 3} .3521078
{txt}{hline 19}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
           sigma_u {c |} {res} .27418236
           {txt}sigma_e {c |} {res} .48148538
               {txt}rho {c |} {res} .24486956{txt}   (fraction of variance due to u_i)
{hline 19}{c BT}{hline 64}
{p 0 16 80}Instrumented:{space 3}L8tautApp L8tautApp_size3_q2 L8tautApp_size3_q3 L8tautApp_size3_q4{p_end}
{p 0 16 80}Instruments:{space 4}ncty lnP85 homew L8lnPall 2.size3_quart 3.size3_quart 4.size3_quart L8taut L8taut_size3_q2 L8taut_size3_q3 L8taut_size3_q4{p_end}
{hline 84}

{com}. forvalues i = 2/4 {c -(}
{txt}  2{com}.     test $x ${c -(}x{c )-}_size3_q`i'
{txt}  3{com}. {c )-}

{p 0 7}{space 1}{text:( 1)}{space 1} {res}L8tautApp = 0{p_end}
{p 0 7}{space 1}{text:( 2)}{space 1} L8tautApp_size3_q2 = 0{p_end}

{txt}{col 12}chi2(  2) ={res}   16.16
{txt}{col 10}Prob > chi2 =  {res}  0.0003

{p 0 7}{space 1}{text:( 1)}{space 1} L8tautApp = 0{p_end}
{p 0 7}{space 1}{text:( 2)}{space 1} L8tautApp_size3_q3 = 0{p_end}

{txt}{col 12}chi2(  2) ={res}   11.20
{txt}{col 10}Prob > chi2 =  {res}  0.0037

{p 0 7}{space 1}{text:( 1)}{space 1} L8tautApp = 0{p_end}
{p 0 7}{space 1}{text:( 2)}{space 1} L8tautApp_size3_q4 = 0{p_end}

{txt}{col 12}chi2(  2) ={res}   17.67
{txt}{col 10}Prob > chi2 =  {res}  0.0001
{txt}
{com}. test ${c -(}x{c )-}_size3_q2 ${c -(}x{c )-}_size3_q3

{p 0 7}{space 1}{text:( 1)}{space 1} {res}L8tautApp_size3_q2 = 0{p_end}
{p 0 7}{space 1}{text:( 2)}{space 1} L8tautApp_size3_q3 = 0{p_end}

{txt}{col 12}chi2(  2) ={res}    3.17
{txt}{col 10}Prob > chi2 =  {res}  0.2052
{txt}
{com}. test ${c -(}x{c )-}_size3_q2 ${c -(}x{c )-}_size3_q4

{p 0 7}{space 1}{text:( 1)}{space 1} {res}L8tautApp_size3_q2 = 0{p_end}
{p 0 7}{space 1}{text:( 2)}{space 1} L8tautApp_size3_q4 = 0{p_end}

{txt}{col 12}chi2(  2) ={res}   18.25
{txt}{col 10}Prob > chi2 =  {res}  0.0001
{txt}
{com}. test ${c -(}x{c )-}_size3_q3 ${c -(}x{c )-}_size3_q4

{p 0 7}{space 1}{text:( 1)}{space 1} {res}L8tautApp_size3_q3 = 0{p_end}
{p 0 7}{space 1}{text:( 2)}{space 1} L8tautApp_size3_q4 = 0{p_end}

{txt}{col 12}chi2(  2) ={res}   11.20
{txt}{col 10}Prob > chi2 =  {res}  0.0037
{txt}
{com}. 
. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}/Users/fcoell/Dropbox/PATSTAT/DATA/../logs/results_final.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}22 Jun 2020, 12:07:36
{txt}{.-}
{smcl}
{txt}{sf}{ul off}